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

varchar to timestamp conversion - response (1) by dnoeth

$
0
0
In your example day and month are exchanged and you forgot the blank. This should work: sel cast('12/25/1994 11:46:29PM' as timestamp(0) format 'MM-DD-YYYYBhh: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>