Hi guys,
Is there any system table I can request to tell me if a columns is part of a primary key and Unique Key?
Table1
- ColA (PK)
- ColB (PK)
- ColC
ColA and ColB are Primary Keys
I have a loop that goes throught each column and I want to know if it is part of a primary key? or Unique Key? Is it possible?
Thanks for your help. Kim
Is there any system table I can request to tell me if a columns is part of a primary key and Unique Key?
Table1
- ColA (PK)
- ColB (PK)
- ColC
ColA and ColB are Primary Keys
I have a loop that goes throught each column and I want to know if it is part of a primary key? or Unique Key? Is it possible?
Thanks for your help. Kim