Reputation: 322
i have a *.sql file on my desktop. How can i create a job in toad for oracle so that it can directly pick up the file and run it everyday at a specific time. thank you
Upvotes: 0
Views: 20373
Reputation: 1467
well different version of the TOAD have different options the best way i would suggest you is - on the button "Execute as script"
Execute as script --> Execute via SQL plus
then the SQL-plus window will pop up and it will auto connect to your DB. Gather all your sql queries / script in the file and run below command
@C:\Users\Desktop\script.sql
this will start executing the script from file directly and will give the log in the SQL plus window.
Upvotes: 0
Reputation: 1791
What version of Toad? If it's a somewhat newer one, check out the Automation Designer. It's available from the Utilities menu.
Upvotes: 1