The following collection of stored procedures and functions are used to gather details about the database.