Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to add a column to the primary key?

Status
Not open for further replies.

mokesql

Programmer
Joined
Sep 6, 2001
Messages
30
Location
AT
with wich sql statement can i add a column to the primary key? i have a primary kex which includes 3 colums and want another column to be added. how can i solve it. when i try alter table table name add primary key () its not possible because i get the statement that there can be only one primary key. thanx


kemo
 
You may drop and then recreate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top