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

Populate a column in table with system user by default.

$
0
0

Hello Experts,

               I have created a table T1 with four fields. I want to add additional column to this table say C1 that contains the system username by default.

For this I wrote an ALTER TABLE statement as - alter table "SCHEMA"."ZDB_TEST2" add (created_by varchar(20) default system_user);

But I am getting syntax error in this case. Please guide me in order to resolve this.

 

Thanks in advance,

Dnyanesh


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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