System functions return system information.
Databases currently running on a server are identified by a database name and a database ID number. The db_id and db_name functions provide information on these values.
A set of system functions provides information about properties of a currently running database, or of a connection, on the database server. These system functions take the database name or ID, or the connection name, as an optional argument to identify the database or connection for which the property is requested.