astralaaron Posted June 29, 2013 Share Posted June 29, 2013 (edited) Is there any way in SQL to change which field is the primary key? Then also drop the field from having a primary key? Thanks in advance. I should probably add I am using Access database at the moment... DROP INDEX indexFIeld ON Table1 doesn't seem to work Edited June 29, 2013 by astralaaron Link to comment Share on other sites More sharing options...
justsomeguy Posted July 1, 2013 Share Posted July 1, 2013 Here's the syntax: http://msdn.microsoft.com/en-us/library/office/bb177897(v=office.12).aspx Note that the index name is not necessarily the field name. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now