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 |
lols
Posting Yak Master
174 Posts |
Posted - 2008-09-13 : 07:00:26
|
Hello,I want to find all the pk and fk constraint on all tables in northwind dbPlease help in SQL 2000 code |
|
karthickbabu
Posting Yak Master
151 Posts |
Posted - 2008-09-13 : 07:10:48
|
http://blog.sqlauthority.com/2006/11/01/sql-server-query-to-display-foreign-key-relationships-and-name-of-the-constraint-for-each-table-in-database/================================================When you realize you've made a mistake, take immediate steps to correct it. |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-09-13 : 13:53:53
|
Have a look at INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE catalog view. |
 |
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
|
|
|
|