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

Partition Violation Error - response (2) by bikky6

$
0
0
Hi I am using TD 13.I have an erro 5728 with partition violation. I have a table with follwoing structure   CREATE TABLE T1 ( COL1 INTEGER, COL2 DATE FORMAT 'YYYY-MM-DD', COL3 CHAR(1), ... .. .. )   PRIMARY INDEX(COL1) PARTITION BY CAST(COL2 AS INTEGER);   While I am inserting the data from select logic into this table.I am getting partition violation because the values allowed in the partition from 1 to 65535.the dates being converted into integer format is >65535 value.   We constructed this table as per requirement.How far this is correct by puttin cast(col2 as integer) in partition by. Is there any approach to do this. I thought to have partition by range_n.How do you suggest?   Regards KVB  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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