Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Dropping Primary Composite Key - topic by taruntrehan

$
0
0
Hi All, I have a table that has a composite key defined on 2 columns. These column are not a part of primary index. The table contains data. I am trying to drop primary key using the following command and getting a systax error : alter table person_mst drop primary key (id,name); alter table person_mst drop primary key ;  ALTER TABLE Failed. 3707:  Syntax error, expected something like a 'CHECK' keyword between the 'drop' keyword and the 'primary' keyword. 

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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