Hello,
Good Morning!!
Thank you very much for looking into this.
Here is the DDL/DML . Kindly let me know if you need any further info.
CREATE volatile TABLE test ,FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT,
DEFAULT MERGEBLOCKRATIO
(
COL1 BIGINT NOT NULL,
DT DATE FORMAT 'YYYY-MM-DD' NOT NULL,
COL3 SMALLINT NOT NULL,
COL4 VARCHAR(84) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
COL5 INTEGER
)
PRIMARY INDEX ( COL3 )
on commit preserve rows;
insert into test values(3202, date '2012-10-03',5,'abc',);
insert into test values(3202, date '2012-10-13',3,'abc',);
insert into test values(3202, date '2012-10-13',2,'abc',);
insert into test values(3202, date '2012-09-27',2,'abc',);
insert into test values(3202, date '2012-09-27',4,'abc',);
insert into test values(3202, date '2012-10-13',4,'abc',);
insert into test values(3202, date '2012-10-15',4,'abc',);
insert into test values(3202, date '2012-09-27',5,'abc',);
insert into test values(3202, date '2012-10-13',5,'abc',);
insert into test values(3202, date '2012-10-14',5,'abc',);
insert into test values(3202, date '2012-10-16',5,'abc',);
sel * from test
order by 1,2,3;
↧