Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-06-03 : 13:37:40
|
Gift writes "Hi, Im lookinq for a select statement (if it exists) that returns the column-name(s) and the column_id(s) of a table where the columns have a primary key. I have allready been looking in sysobjects and sycolumns but can't find any right id and statement to return wich columns are primary key." |
|
|
|
|
|