in reply to Re^4: Issue while inserting Thai Characters into Database..
in thread Issue while inserting Thai Characters into Database..
Dates/times can be tricky and are best inserted with ODBC syntax e.g., {ts 'yyyy-mm-dd hh:mm:ss[.fff]}, {d 'yyyy-mm-dd'} and {t 'hh:mm:ss[.fff]'}. If you omit parts it can lead to the error you are getting. See ODBC Datetime Format and Why do I get invalid value for cast specification (22018) from SQL Server when inserting with parameters?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Issue while inserting Thai Characters into Database..
by ajaykumarb (Initiate) on Jan 21, 2010 at 11:21 UTC | |
by mje (Curate) on Jan 21, 2010 at 13:46 UTC | |
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 | |
|