statements within one $dbh-do()
Loo, Peter # PHX wrote:
Hi,
I am trying to execute two SQL statements within one call to
$dbh-do() and Perl DBI is not happy.
Here is a sample call:
$sql = qq{delete from some_table
where condition_one
andcondition_two
Hi,
I am trying to execute two SQL statements within one call to $dbh-do()
and Perl DBI is not happy.
Here is a sample call:
$sql = qq{delete from some_table
where condition_one
andcondition_two;
insert into some_table (col_1, col_2, col_3)
Loo, Peter # PHX wrote:
Hi,
I am trying to execute two SQL statements within one call to
$dbh-do() and Perl DBI is not happy.
Here is a sample call:
$sql = qq{delete from some_table
where condition_one
andcondition_two;
insert into some_table