in reply to Re^7: Avoiding Strange Win32::ODBC Return Values for Integers
in thread Avoiding Strange Win32::ODBC Return Values for Integers (NUL)
Is there any reason not to use DBI with DBD::ODBC?No real reason for not using it, though I did not like the way of preparing SQL with questionmark placeholders at first sight:
SQL is just text, Perl can manipulate it fairly well like in "... where baz=$baz"!$sth = $dbh->prepare("SELECT foo, bar FROM table WHERE baz=?");
|
|---|