Automating export and import (Urgent) [message #72007] |
Thu, 20 February 2003 09:27 |
scott
Messages: 73 Registered: September 1999
|
Member |
|
|
Hi All,
My company runs Oracle 8 on Windows NT server.I have been asked to achieve the following task
(1) Do an export of a database using exp80 user/password@database-name........
(2) Run a procedure delete.sql (I have written this) which drops all tables from the database
(3)Do an import using imp80.......
(4) Run a procedure called CreateTables.sql (I have written this)which actually reads the data from imported tables and creates tables for seven different schemas.
Doing it separately is a piece of cake.It runs flawlessly.Now my Boss wants me to automate the entire process from start to finish and wants to run it as a scheduled task every Friday night 12.00 Midnight.
I have no clue as to where to start from.
Help will be sincerely apprecaited.
Thanks in advance.
Scott.....
|
|
|
|
Re: Automating export and import (Urgent) [message #72011 is a reply to message #72007] |
Fri, 21 February 2003 06:35 |
scott
Messages: 73 Registered: September 1999
|
Member |
|
|
Perfecto,
Thanks a bunch Mahesh.I will be done with a small C# module by evening and then need to kickstart the Oracle stuff. Deadline is Tuesday. With your help,looks like I will be done.
Thanks again.
I hope your country wins the criket world cup.
Regards
Scott Allen
|
|
|