http://www.perlmonks.org?node_id=1015038


in reply to pass MS SQL server scripts into Win32::ODBC

You will have to read the files and execute each statement through the database handle.

Maybe DBIx::RunSQL does what you want?