This script will find all foreign key contraints in the database it is run on. Includes.
Name of Foreign Key
Name of table FK is on
Name of column FK is on
Name of table FK references
Name of column FK references
SP that shows information from a given database
It is used to show information from a database. It shows the creation date, it calculates the time in days, months and hours since its creation and it shows all the users with rights in that database.