Where 'commands.sql' is a series of commands such as creating and dropping tables. I asked this question in the CB and the three main response I received were:# Assume an established DB connection $dbh->do('commands.sql');
Cheers - L~R
In reply to How do I execute an SQL file through DBI by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |