sa_db_list system procedure

Returns a database ID.

Syntax
sa_db_list( [ dbidparm ] )
Arguments
  • dbidparm   Use this optional INTEGER parameter to specify the ID number of a database.

Result set
Column name Data type Description
Number INTEGER The ID number of the database.
Remarks

If you do not specify a dbidparm, or if dbidparm is NULL, the IDs for all databases running on the database server are returned. If dbidparm is less than 0, then only the ID for the current database is returned.

Permissions

None

Side effects

None

See also