Escape Sequences
To determine if a driver supports the escape sequences for date, time,
timestamp, or datetime interval literals, an application calls SQLGetTypeInfo. If the data source supports a date, time, timestamp, or datetime interval
data type, it must also support the corresponding escape sequence. To determine
if the other escape sequences are supported, an application calls SQLGetInfo.
For more information, see “Escape Sequences in ODBC,” later in this chapter.