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

SQL Anywhere 12.0.0 (中文) » UltraLite - 数据库管理和参考 » UltraLite 数据库参考 » UltraLite 数据库属性

 

访问 UltraLite 数据库属性

UltraLite 为您提供一组用于检索数据库的属性。

可以更改任何不与数据库创建参数对应的数据库属性的设置。

 ♦  浏览 UltraLite 数据库属性 (Sybase Central)
  1. 连接到数据库。

  2. 右击数据库并选择 [属性]。

    在 [数据库属性] 窗口中,数据库属性在 [常规] 和 [同步信息] 选项卡上列出。在 [同步信息] 选项卡上,数据库属性按属性名称的字母顺序列出。若要按值对数据库属性进行排序,请单击 [] 列。

 ♦  获得数据库属性的值 (C/C++)
  • 用 C/C++ 调用 GetDatabaseProperty函数。

    例如,要获得 conn_count 属性的值,调用:

    GetDatabaseProperty( ul_database_property_id conn_count )

    要获得 char_set 属性的值,调用:

    GetDatabaseProperty( ul_database_property_id char_set )
 另请参见