Archives of the TeradataForum
Message Posted: Thu, 09 Jan 2003 @ 20:36:53 GMT
I think (and this does go back a while) the SQL syntax (the FORMAT clause) you are using is Teradata specific not ANSI SQL. (Can you run the query without the FORMAT?)
CAST is the preferred SQL-92 method, but I am not sure what you are casting from and to. Syntax CAST(Your_Date as data_type) where datatype is a teradata supported datatype.
SQL Server supports Convert which is nice, but not SQL-92.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|