in reply to Re^6: Issue while inserting Thai Characters into Database..
in thread Issue while inserting Thai Characters into Database..
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'}/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Issue while inserting Thai Characters into Database..
by ajaykumarb (Initiate) on Jan 22, 2010 at 04:35 UTC | |
by mje (Curate) on Jan 22, 2010 at 09:44 UTC | |
by ajaykumarb (Initiate) on Jan 22, 2010 at 11:24 UTC | |
by mje (Curate) on Jan 22, 2010 at 13:04 UTC |