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

Re: want to add column in HANA Tables

$
0
0

Hi Sreelatha-

 

 

There are some posts already related to adding/removing a column . Please check before posting a new thread.

 

Adding a new column:

 

    ALTER TABLE <tablename> ADD (<columnname> <datatype>);

Example:


ALTER TABLE emp_t ADD(emp_id nvarchar(10));


Removing an existing column:

 

ALTER TABLE <tablename> DROP (<columnname> <datatype>);

 

Example:


ALTER TABLE emp_t DROP(emp_id nvarchar(10));

 

 

Thanks

Happy learning


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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