on 12-11-2013 11:17 AM
Hi,
I need to add new column into an existing table in hana system. I used normal SQL alter command for altering new column but it's not working.
ALTER TABLE table_name
ALTER COLUMN column_name datatype;
Can anyone please suggest correct syntax for this.
CREATE COLUMN TABLE MYTAB (SOME_FIELD INTEGER);
ALTER TABLE MYTAB ADD (ANOTHER_FIELD CHAR(1));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ALTER TABLE <tablename> ADD (<columnname> <datatype>);
Example:
ALTER TABLE "PROCUREMENT"."TEST_DATA" ADD (STATE VARCHAR(10));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.