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

Calulation of duration in time format. - response (1) by dnoeth

$
0
0
I assume you're using SQL Assistant and an ODBC connection. You should get an error message "5407 Invalid operation for DateTime". Do a SHOW TABLE and check if the columns are INT instead of TIME. To avoid this switch to .NET or change one of the following options in ODBC: set the "DateTime Format" to "AAA" or check "Disable Parsing"   And then it's: sel end_time - start_time hour to second from activity_time;  Dieter  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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