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

TIME (0) field converted to INTEGER - forum topic by saadwaseem

$
0
0

Hello,
I'm facing a pretty strange issue here, wanted to see if anybody had any insight on this. 
I'm creating a TD table with a TIME(0) field in it. Strangely, once the CREATE TABLE is complete, the table is created with a INTEGER field instead.
Table Create SQL:

CREATE SET TABLE REVENUE ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
     record_id INTEGER,
      start_dt DATE FORMAT 'YYYY-MM-DD',
      start_tm TIME(0),
      revenue DECIMAL(18,4))
PRIMARY INDEX ( record_id );

Show Table result:

CREATE SET TABLE REVENUE ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
     record_id INTEGER,
      start_dt DATE FORMAT 'YYYY-MM-DD',
      start_tm INTEGER FORMAT '99:99:99',
      revenue DECIMAL(18,4))
PRIMARY INDEX ( record_id );

 
I have tried this from multiple computers with the same result. Any idea?

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>