Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Alter Table - Error

$
0
0

Hi Sri,

I think altering data type of a column is supported only if it is a COLUMN store table.

I tried the following

 

 schema sreehariv;
 table "TIME_TEST";
 column table "TIME_TEST_COL" ("CRTIME" DATE);
 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);
ALTER TABLE "TIME_TEST_COL" ALTER ("CRTIME" TIMESTAMP);

Where, the row store table could not be altered .

 

Sreehari


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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