The ODBC Driver for Teradata support for ODBC scalar functions outside escape sequences has been deprecated. This is a Teradata specific extension to the ODBC standard and its use is deprecated for compatibility reasons. Support will be discontinued in order to facilitate reuse of SQL between products. Support for this feature will be unavailable in ODBC Driver for Teradata 16.00.
ODBC scalar functions should always be used within escape sequences. For example:
SELECT {fn DAYOFWEEK(delivery_date)} FROM order_table;