ASA SQL Reference
System Procedures and Functions
System and catalog stored procedures
Reports database property information.
sa_db_info ( [ database-id ] )
None
None
sa_db_properties system procedure
Returns a single row containing the Number, Alias, File, ConnCount, PageSize, and LogName for the specified database.
The following statement returns a single row describing the current database:
CALL sa_db_info
Sample values are as follows:
| Property | Value |
|---|---|
| Number | 0 |
| Alias | asademo |
| File | C:\program files\Sybase\SQL Anywhere 9\asademo.db |
| ConnCount | 1 |
| PageSize | 1024 |
| LogName | C:\program files\Sybase\SQL Anywhere 9\asademo.log |