Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Change the length of a Column

$
0
0

Hi Sreelatha ,

 

Please go through the HANA Documentation before Posting the Question.

 

Here are some excerpts from HANA Documentation:

 

  • For column table, only increasing the size of a column data type is allowed to prevent data loss. For example, changing from nvarchar(20) to nvarchar(10) or from integer to tinyint will raise an error.
  • For row table, only increasing the size of VARCHAR and NVARCHAR type column is allowed. Other data type changes are not allowed.


You can visit the link:

ALTER TABLE - SAP HANA SQL and System Views Reference - SAP Library


So you can do the following:

You can drop and create it. Take the backup of table to reload it.


Hope this helps

 

-

Pratik


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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