Archives of the TeradataForum
Message Posted: Tue, 30 Oct 2012 @ 13:42:57 GMT
< -- Anonymously Posted: Tuesday, October 30, 2012 07:24 -- >
I ran the below sql and didn't face any issue:
sel cast(cast('10/30/2012' as date format 'mm/dd/yyyy') as date format 'yyyy/mm/dd') "dt" from dbc.tables sample 1 where dt=current_date;
There might be bad date records in your EMP_DT column (since it's defined as a VARCHAR, it won't be caught while loading the table). Please have a look at the data.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|