Reports database property information.
sa_db_info ( [ database-id ] )
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. Table 9-26 lists sample values.
Property |
Value |
---|---|
Number |
0 |
Alias |
asiqdemo |
File |
c:\ASIQ-12_5\demo\asiqdemo.db |
ConnCount |
1 |
PageSize |
4096 |
LogName |
c:\ASIQ-12_5\demo\asiqdemo.log |
sa_db_info
0,'asiqdemo',' /sys1/users/janed/sybase/ASIQ-12_5/demo/asiqdemo.db', 1,4096,'/sys1/users/janed/sybase/ASIQ-12_5/demo/asiqdemo.log'