Re: [firebird-python] execute a whole script

2014-05-14 Thread Philippe Makowski [email protected] [firebird-python]
Hi, > I've got a whole script full of SQL for Firebird that I want to execute > from python with fdb. Is there a way? > certainly, > The sqlite3 module has an 'executescript' extension for this. > we don't, but feel free to help to write it ;) > Any suggestions? > just format your script

[firebird-python] execute a whole script

2014-05-14 Thread Hamish Moffatt [email protected] [firebird-python]
Hi, I've got a whole script full of SQL for Firebird that I want to execute from python with fdb. Is there a way? The sqlite3 module has an 'executescript' extension for this. Currently I'm using sqlparse to split the script into individual statements and executing those individually. There ar