Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Reference » System Objects » System procedures » Alphabetical list of system procedures


sa_db_list system procedure

Returns a database ID.

sa_db_list( [ dbidparm ] )
  • 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.

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.



Side effects


See also