Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 09 Jan 2003 @ 20:36:53 GMT





     
  <Prev Next>   <<First <Prev Next> Last>>  




Subj:   Re: FORMAT Problem
 
From:   John Grace



Tony,

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.

John





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008