Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Whom can help me explain the ‘46.06:18:08’ time. - response (4) by dnoeth

$
0
0

This strange value is only returned when you have an ODBC connection, so it seems to be a SQLA or ODBC bug: 

SELECT
   CAST(-1008 AS SMALLINT FORMAT '99:99:99'),
   CAST(-1008 AS INTEGER  FORMAT '99:99:99'),
   CAST(-1008 AS FLOAT    FORMAT '99:99:99')
 
 
-1,008  46.06:18:08 46.06:18:08

You should open an incident.
 
As already noted don't try to calculate a time difference using INTs, use TIMEs instead.


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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