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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to drop primary key constraint 2

Status
Not open for further replies.

jmodo

Programmer
Aug 2, 2006
43
US
I'm trying to drop the primary key of my field "id". I need something like:
ALTER TABLE t DROP CONSTRAINT id? I don't know what the name of the constraint is.

Wish I was in oracle!
Thanks,
-J
 
Access calls the Primary Key [red]PrimaryKey[/red] so
Code:
ALTER TABLE t DROP CONSTRAINT PrimaryKey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top