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?
In reply to Re^5: Issue while inserting Thai Characters into Database..
by mje
in thread Issue while inserting Thai Characters into Database..
by ajaykumarb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |