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

Using FLOOR() function over a Bigint Columns - response (1) by dnoeth

$
0
0

When you got BIGINTs the result should be 1.
Looks like you actually got DECIMALs.

SEL TYPE(1734567890123), TYPE(1000000000000);
SEL CAST(1734567890123 AS BIGINT)/CAST(1000000000000 AS BIGINT);

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>