Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Alter Table - Error

$
0
0

Hi people,

 

 

I have a table where a column is created with DATE datatype which I need to convert to TIMESTAMP type. But when I try to do that , I am getting the following error.

  Could not execute 'alter table abc  ALTER ("CREATION_DATE" timestamp , ...' in 218 ms 379 µs .

SAP DBTech JDBC: [7] (at 57): feature not supported: cannot modify data type of column: CREATION_DATE: line 1 col 58 (at pos 57)


The query I tried was

ALTER <schema>.<table> ALTER (<columnname> TIMESTAMP)

Also I tried mentioning both ROWstore type and Columnstore type :

ALTER <schema>.<table> ALTER (<columnname> TIMESTAMP CS_LONGDATE)


Viewing all articles
Browse latest Browse all 6412

Trending Articles