in reply to DBD and a MySQL query with a SET @num line
$dbh->do('SET \@num := 0, \@id := -1;'); my $ar_results = $dbh->selectall_arrayref( qq( QUERY GOES HERE ), { Sl +ice => {} });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD and a MySQL query with a SET @num line
by edieguez (Initiate) on Jan 22, 2014 at 04:10 UTC |