Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 26 Feb 2002 @ 12:28:55 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Drop database
 
From:   Rohit Revo

You will not be able to drop a database if there is a default journal table associated with that database and this is the reason for your error.

For removing a Journal table from your database try this:

Modify database xxx as
drop default journal table = tablename;

However, you still will not be able to drop a journal table from your database if some of your existing tables in the database are using journalling option. For this you should use:

ALTER TABLE NAME,WITH [JOURNAL TABLE=JOURNAL TABLE NAME];
                ,NO BEFORE JOURNAL,NO AFTER JOURNAL;

Hope it helps..

ROHIT REVO



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023