Julio, If you need to keep the userid's and other environmentals, I would create a script that truncates the tables and then import the data to populate them with the new data. The export can be controlled with a par file and the import can be part of the truncate script. Ron
>>> [EMAIL PROTECTED] 12/30/2003 11:54:32 AM >>> Hi All, I have two databases of small size running on a Win2k Server. One is production and the second one test. I would like to delete the test database in an automated way (run a script say every weekend), then recreate it so that I have a fresh database to work with or to import prod data into. I have the scripts for database creation part done. But, I was wondering if there were any sample scripts for deleting a database without user interaction or at least know what steps I should follow. Has anybody done this on his or her environment? Your help will be appreciated! Julio Cesar Quijada-Reina Programmer Analyst Computer Services at Alfred State College -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: QuijadaReina, Julio C INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Ron Rogers INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
