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

Is it possible to handle the date in format YYYY-MM-DD HH:MI:SS NNNNNN ? Please note there is no dot(.) in between - forum topic by mandeep_m91

$
0
0

Hi,
This is my first post in this forum. I am new to teradata DB. There is a project that I am working on where we are receiving the date in varchar format :
YYYY-MM-DD HH:MI:SS NNNNNN 
Please note there is no dot(.) in between seconds and microseconds. I know that the timestamp(6) data type expects a dot and hence I am not able to cast it as a timestamp. One way I can think of is to manipulate the varchar string and insert a dot in between then typecast it to timestamp. I want to know if this can be achieved through casting alone ?
Thanks
Mandeep
 
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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