on 09-16-2014 7:12 AM
Hello,
I am trying to execute the following query from HANA studio(HANA version 1.00.74.00.390550)
ALTER TABLE SCHEMA_NAME.MY_TABLE DROP PRIMARY KEY;
HANA issues error saying
SAP DBTech JDBC: [7] (at 23): feature not supported: cannot drop primary key of referenced table: GENERIC_OBJECT_T: line 1 col 24 (at pos 23)
Is there any permission issue? Is there any problem with the drop constraint query? Is it not possible to drop the constraint? I m trying to drop primary key because i need to add additional column to the primary key.
Thanks,
Suren.
Hi Suren,
You need necessary Object( SQL) privileges on that Table for drop SQL commands.
In SAP HANA Studio -> Navigator tree->Security->Users->Select the corresponding user->Object Privileges
and check for that particular object(table) you have DROP privilege.
Regards,
Sruthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.