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

how can i find out the primary key

Status
Not open for further replies.

saurabh

Programmer
Jul 10, 2000
27
IN
how can i find out the primary key of the table using ASP..using recordset......
 
If you are using a relational database (eg Access or SQL Server) one of the system tables will hold this information.
If you cannot find the table where this is held (I have had a quick look and I cannot see it!!!), create your own table and query this table.

Simon
 
hi simon,

I actually meant to find the primary key in the table being referenced in the ASP script.

Is there a way to find out the PK of the table I am querying in ASP.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top