If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Deleta all traces of DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-17-05, 13:13
toniblair toniblair is offline
Registered User
 
Join Date: Sep 2005
Posts: 5
Deleta all traces of DB

Hi all,

I need to delete a db and recreate a new db with same name and table spaces. How can I delete a db and remove all its resources so that there are no conflicts when I recreate the new db.

advTHANKSance
Reply With Quote
  #2 (permalink)  
Old 10-17-05, 14:51
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You did not mention which version of DB2 or OS. Please see the "Must read before posting" memo.

Anyway, I believe you want:

DROP DATABASE MyDatabase

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On