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

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 数据库管理 » 数据库配置 » 连接属性、数据库属性和数据库服务器属性

 

访问数据库属性值

数据库属性可用于数据库服务器上的每个数据库。可以使用 DB_PROPERTY 系统函数检索单个属性的值,也可使用 sa_db_properties 系统过程检索所有数据库属性的值。属性名称不区分大小写。

 ♦ 检索数据库属性的值
  • 使用 DB_PROPERTY 系统函数。例如,以下语句返回当前数据库的页大小:

    SELECT DB_PROPERTY ( 'PageSize' );
 ♦ 检索所有数据库属性的值
  • 使用 sa_db_properties 系统过程:

    CALL sa_db_properties;
 另请参见
 数据库属性