Submitted byCategory
Review Cycle
.
Public
Joachim Mutter/sysarc
on 09/15/2008 at 08:36 PM
SQLServer\Code

Getting all ForeignKey constraints

This code gets all foreign key constraints of a database and creates the appropriate drop or create statements.
It is also possible, to restrict the statements to