Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 21 Jan 2013 @ 17:29:26 GMT

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

Subj:   Re: Data format issue
From:   Dave Wellman

Hi Koushik,

Your problem is because there is no FORMAT statement associated with the column in the volatile table, hence it is using the default.

A couple of solutions:

1) on the SQL that READS the volatile table (not the sql that creates it) use the format clause to force formatting as yu want (i.e. yyyy/mm/dd)

2) on the SQL that creates the volatile table set the format on that date column to be what you want. I think if you do this you have to code the CREATE separately from the INSERT (i.e. you can't use CREATE TABLE AS).



Ward Analytics Ltd - Information in motion (www.ward-analytics.com)

  <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: 24 Jul 2020