Tuesday, 3 September 2013

Is there a way to execute multiple sql scripts using python?

Is there a way to execute multiple sql scripts using python?

I have a directory full of about 6,000 .sql scripts that I would like to run.
I can run them one by one using the Toad db visualization tool, but would
prefer a python script that cycles through the directory, executing each
script.
I am new to all of this, so please forgive me if I have not included
enough information. Let me know if any additional info is needed, and I
will be happy to provide :-)
Thanks and best,
-Tali

No comments:

Post a Comment