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
↧