Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Timestamp format on teradata retrieval - response (9) by gtsoccer

$
0
0

Dieter and all, I have a timestamp without seconds that I want to keep as a timestamp & not a VARCHAR like this: 5/27/2013 3:36 
When I try to create the table using the command belowI get an error that Teradata SQL Assist expected something like a 'CHECK' keyword or an 'UNIQUE' key word between the word 'trns_dt' and '('
trns_dt (timestamp(0), format 'MM/DD/YYYYBHH:MI:BB')
or  
trns_dt (timestamp(0), format 'MM/DD/YYYYBHH:MI')
Any thoughts on how to fix this?


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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