Determine Primary Key Column

I need a SQL query which i could run in access DB ... for example if i give that query a table name it should return the primary key cloumn name...

more ▼

asked Dec 05, 2009 at 07:40 AM in Default

Syed Talha Ali gravatar image

Syed Talha Ali
2 3 3 3

Sorry, this is a site specifically for Microsoft SQL Server, so there may not be people here who can help you with Access
Dec 05, 2009 at 08:30 AM Kristen ♦
Dec 05, 2009 at 11:17 AM Squirrel 1
(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Dec 05, 2009 at 07:40 AM

Seen: 647 times

Last Updated: Dec 05, 2009 at 07:40 AM