Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 10 Nov 2003 @ 18:06:01 GMT


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


Subj:   Format of Date
 
From:   Ferry, Craig

I am running the following query.

SELECT CAST(date AS DATE FORMAT 'MMDDYYYY'), date FROM branch;

I would expect my output to be something like the following

11102003        2003-11-10

But instead I am getting:

2003-11-10      2003-11-10

Any thoughts on what I may be doing wrong?


Thanks

Craig



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023