Hello.
I have about 12 different sql queries currently in one sql file. Currently I have to manually run these scripts (using Navigator) one by one. If anything is retrieved then I save the reults as a .csv file. If nothing is retireved then I move onto the next script.
Question is how best can I automate this procedure so that those scripts that do return something can be saved as a .csv file and I can send that to my user rather then having to go through each script in the file????
I have about 12 different sql queries currently in one sql file. Currently I have to manually run these scripts (using Navigator) one by one. If anything is retrieved then I save the reults as a .csv file. If nothing is retireved then I move onto the next script.
Question is how best can I automate this procedure so that those scripts that do return something can be saved as a .csv file and I can send that to my user rather then having to go through each script in the file????