Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Subtract timestamps, result with fractions of seconds

$
0
0

Dear all,

 

my question is pretty simple. I want to find out the interval between two timestamps using an SQL query.

 

As there seems to be no interval datatype and there is no subtraction operator i tried to find some function for it. I found the seconds_between function but it only returns whole seconds. I'm also interested in the fractions of seconds. As they are stored in the timestamp i guess it has to be possible to access them.

 

Thanks in advance for your help.

 

Best,

Michael


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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