How can I determine, via ASP code, if a column from a table is a primary key? I want to create a table "inspector" that will give me the name, type, whether NULL values are allowed, whether it is a primary key, etc. for each column in a table. I have been able to do everything except determining if a column is a primary key.<BR><BR>Thanks!<BR>Dave