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

how to drop default primary key programmatically??

Status
Not open for further replies.

dklions

Programmer
Jul 20, 2001
7
US
Hi all,
I'm using MS Access 2000.
I need to drop primary key programatically.

Here is the urgent problem we have:
The primary key was created on the table using Table Designer.

The database was sent to the client who does not have an access to the database itself, only to the query tool created in VB. This tool allows our client to execute sql against the database.

I need to provide the client that sql.

Question: How to find what name was assigned to that primary key?
What statement should I use? (DROP INDEX ???)

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top