Reputation: 333
I have several PL/SQL scripts that are transforming data accoriding to specification day by day. I would like to run them in the loop for each day of the year. Is this possible to handle somehow in Toad?
I have found that I can run some other scripts by calling them via @name_of_script , but it doesn't work for me in Toad.
I just need something like:
BEGIN
FOR i IN day1 TO dayx
EXECUTE SQL1;
EXECUTE SQL2;
EXECUTE SQL3;
END LOOP;
END
Is there any way how to run these scripts somehow "managed" except to change them to procedures? Thank you for answer.
Upvotes: 0
Views: 842
Reputation: 8655
@
is an SQLPlus command
But toad partially supports it too: there are 2 common options:
@
command as in SQL*PlusUpvotes: 1