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

Alter table adding default value

$
0
0

Hi Guys

 

I try to add a default value to a table using this script:

 

ALTER TABLE "a" ALTER ("b" varchar DEFAULT '');

My goal is to set empty string default value for the field b


When I try to run this script:

feature not supported: cannot shorten the field length: b:




My b field is :

 

....

"b" VARCHAR(12) NOT NULL

...

 

Any hints?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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