Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

ODBC datetime format 'III' causing timestamp to time conversion to fail? - forum topic by jennifer.ma

$
0
0

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: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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