MDAC 2.5 SDK - ODBC Desktop Database Drivers


 

Date, Time, and Timestamp Literals

For maximum interoperability, applications should pass date literals in the ODBC canonical format using escape-clause syntax:

For timestamp literals {ts 'value'}, where value is in the form "yyyy-mm-dd hh:mm:ss[.f…]".