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(); ...
In reply to Re: Problem passing date to SQL
by GotToBTru
in thread Problem passing date to SQL
by JoeTheProgrammer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |