Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Default date column not aligning in xcel - forum topic by uco

$
0
0

Hi 
I have a date column in which the default low date is not  not aligning with other dates in the columns 
here is the screen shot . 

LAST PMT DATE

10/31/2009

8/2/2005

9/18/2009

12/26/2007

12/13/2006

3/15/2012

4/21/2009

11/9/2011

7/19/2010

10/15/2007

2/3/2012

2/14/2009

11/22/2006

11/17/1858

11/29/2011

7/11/2011

6/23/2009

9/12/2006

5/24/2007

4/28/2006

2/10/2009

 I have the code in bteq script which creates the csv file 
CASE WHEN CAD2.LAST_PMT_DATE =DATE '1858-11-17' THEN   CAST( '11/17/1858' AS VARCHAR(10))   ELSE (     CAST(CAST (CAD2.LAST_PMT_DATE  AS  FORMAT  'MM/DD/YYYY' )      AS VARCHAR(10))   ) END
 
I also tried the (     CAST(CAST (CAD2.LAST_PMT_DATE  AS  FORMAT  'MM/DD/YYYY' )      AS VARCHAR(10))
 
The source format is YYYY-MM-DD , Any reason why only the low date is not aligning?
 
Thanks
uco
        

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>