using SQLA 13.11.0.33 with ODBC version 13.10.00.05
I was getting a 5407 from doing this
sel cast( current_timestamp as time)
but
sel cast( current_timestamp as timestamp)
sel cast( current_timestamp as date)
both work fine, so looking at my odbc settings, default mode is teradata,
I had datetime format defaulted to 'III'
which shouldn't matter since i'm not creating any tables here?
out of something to try I changed it to 'AAA'
which caused the first statement to return without error
So i've checked by changing the datetime format setting backwards and forwards between 'AAA' and 'III'
and 'III' is definitely causing the first statement to fail with error 5407
can anyone shed any light on this behaviour?
Jennifer
Forums: