Archives of the TeradataForum
Message Posted: Mon, 21 Jan 2013 @ 17:29:26 GMT
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)
|Copyright 2016 - All Rights Reserved|
|Last Modified: 24 Jul 2020|