Hi Sri,
Altering data type of a column is supported only if it is a COLUMN store table.
I tried the following
SET schema sreehariv;
create columntable"TIME_TEST_COL" ("CRTIME"DATE);
create table"TIME_TEST_ROW" ("CRTIME"DATE);
insert into"TIME_TEST_COL"values(CURRENT_DATE);
insert into"TIME_TEST_ROW"values(CURRENT_DATE);
ALTER TABLE"TIME_TEST_ROW"ALTER ("CRTIME"TIMESTAMP);
{
Could not execute 'ALTER TABLE "TIME_TEST_ROW" ALTER ("CRTIME" TIMESTAMP)' in 392 ms 612 µs .
SAP DBTech JDBC: [7] (at 35): feature not supported: cannot modify data type of column: CRTIME: line 1 col 36 (at pos 35)
}
ALTER TABLE"TIME_TEST_COL"ALTER ("CRTIME"TIMESTAMP);
Where, the row store table could not be altered .
Sreehari
Message was edited by: Sreehari V Pillai - With better clarification