in reply to Problem passing date to SQL
If the previous suggestion does not work, in order to make sure the module is interpreting your data as you intend, you might want to do something like:
use DBI qw(:sql_types); ... $sth->bind_param( 1, $date, SQL_VARCHAR ); $sth->execute(); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem passing date to SQL
by JoeTheProgrammer (Novice) on Aug 18, 2015 at 15:27 UTC |