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

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite Database Reference » UltraLite database properties

 

Accessing UltraLite database properties

UltraLite provides a set of properties that you can retrieve for a database.

You can change the settings of any database property that does not correspond to a database creation parameter.

To browse UltraLite database properties (Sybase Central)

  1. Connect to the database.

  2. Right-click the database and choose Properties.

    The Database Properties window appears. Database properties are listed on the General and Extended Information tabs. On the Extended Information tab, the database properties are listed alphabetically by the property name. To sort database properties by the value, click the Value column.

  3. If you think database properties have changed since you started browsing them, click Refresh.

To get the value of a database property (C/C++)

  • In C/C++, call the GetDatabaseProperty function.

    For example, to get the value of the conn_count property, call:

    GetDatabaseProperty( ul_database_property_id conn_count )

    To get the value of the char_set property, call:

    GetDatabaseProperty( ul_database_property_id char_set )
See also

UltraLite database-level properties