Returns the value of the specified database property.
DB_PROPERTY( { property-id | property-name } [, database-id | database-name ] )
UltraLite:
DB_PROPERTY( property-name )
The database property ID.
The database property name.
The database ID number, as returned by the DB_ID function. Typically, the database name is used.
The name of the database, as returned by the DB_NAME function.
VARCHAR, LONG VARCHAR
Returns a string.
The current database is used if the second argument is omitted.
UltraLite: To set an option in UltraLite, use the SET OPTION statement or your component's API-specific Set Database Option method.
No privileges are required to execute this function for the current database. To execute this function for other databases, you must have either the SERVER OPERATOR or MONITOR system privilege.
NULL is returned if you specify an invalid parameter value or don't have one of the required system privileges.
UltraLite: These privileges do not apply to UltraLite.
Not in the standard.
The following statement returns the page size of the current database, in bytes:
SELECT DB_PROPERTY( 'PageSize' );
UltraLite: The following statement returns the page size of the current database, in bytes:
SELECT DB_PROPERTY( 'page_size');