According to the DBI documentation, you should call selectcol_arrayref on a database handle ($dbh), not a statement handle.
$dbh = DBI->connect( ... ) || die ...; @EasySetTableNames = @{$dbh->selectcol_arrayref($sqlStatement)};
In reply to Re: MSSQL Select to an array: error with selectcol_arrayref
by kyle
in thread MSSQL Select to an array: error with selectcol_arrayref
by Olaf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |