MSSQLTips.com - your daily source for SQL Server tips
http://www.mssqltips.com/tip.asp?tip=1151
Hi,
Great article!
I think there is an error in version 2 of the script where the information of the primary key corresponds to the foreign key and viceversa.