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

Number of seconds elapsed since beginning of day - response (2) by dlabar

$
0
0
This will work: SELECT extract(hour from tswtz)*60*60 + extract(minute from tswtz)*60 + extract(second from tswtz) s0 FROM tbl...but I thought there must be a more elegant method (such as one cast statement rather than three extracts).

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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