Don't do that, make the whole parameter the string "{ts 'MYDATEHERE'}". You cannot stick a parameter in the middle of the ODBC date/time syntax, the parameter needs to be the whole thing.
my $sql= q/INSERT INTO BK_imageINfo (BusDate) VALUES (?)/; . . . execute(q/{ts '2010-01-20 00:00:00'}/);
In reply to Re^7: Issue while inserting Thai Characters into Database..
by mje
in thread Issue while inserting Thai Characters into Database..
by ajaykumarb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |