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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » System Procedures » System procedures

sa_db_info system procedure Next Page

sa_db_list system procedure


Returns a database ID.

Syntax

sa_db_list( [ dbidparm ] )

Arguments
Result set
Column nameData typeDescription
NumberINTEGERThe 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