sa_db_info system procedure

Function

Reports database property information.

Syntax

sa_db_info ( [ database-id ] )

Permissions

DBA authority required. Users without DBA authority must be granted EXECUTE permission to run the stored procedure.

Description

Returns a single row containing the Number, Alias, File, ConnCount, PageSize, and LogName for the specified database.

Example

See also

“sa_db_properties system procedure”