Quantcast
Viewing all articles
Browse latest Browse all 27759

varchar to timestamp conversion - response (7) by dnoeth

Of course this is failing, it's a totally different format. In each new post there's a different scenario. What do you expect? Teradata automagically casting any kind of timestamp string? Me reading your mind? Sorry, but my crystal ball is out of order today. This is my last try: CAST(SUBSTRING(x FROM POSITION (' ' IN x) + 1 FOR 8) || SUBSTRING(c FROM CHAR_LENGTH(x)-1) AS TIME(0) FORMAT 'hh:mi:sst') 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>