Archives of the TeradataForum 
 
 
Message Posted: Thu, 09 Jan 2003 @ 20:14:42 GMT 
 
  
 
 
 
 
  
|  Subj:  |   |  Re: FORMAT Problem  |   
|     |   
|  From:  |   |  Anomy Anom  |   
  
 
 
  
<-- Anonymously Posted: Thursday, January 09, 2003 15:10 --> 
What version of bteq are you using?  I am using an old version 05.03.00.00 and it works fine.  The field is stored as YYYYMMDD in the
database. 
select ckt_date (format 'mm-dd-yyyy') from circuit
where ni_cktid = 402315352;
 *** Query completed. 2 rows found. One column returned.
 *** Total elapsed time was 1 second.
  CKT_DATE
----------
11-24-1991
11-24-1991
 
What specifically are you getting back? 
 
 
 
 
   
 
 |