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 > Informix > Deleting data from all tables in informix DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-11, 06:03
student927 student927 is offline
Registered User
 
Join Date: May 2011
Posts: 1
Deleting data from all tables in informix DB

Please let me know how to delete data from all tables in informix DB. Is there any direct command or script for this?
Reply With Quote
  #2 (permalink)  
Old 05-12-11, 05:19
Luis Santos Luis Santos is offline
Registered User
 
Join Date: Jun 2009
Location: Lisboa, Portugal
Posts: 51
Hi,

If you wanna delete all data, why donīt you create a new database using dbchema command exactly as the database you have with all data? Then you drop the current database.

Hope it helps
__________________
LS
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