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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » Database Tools Interface » DBTools enumeration types

a_db_version enumeration Next Page

Database size unit enumeration


Used in the a_create_db structure, to specify the value of db_size_unit.

Syntax
enum {
    DBSP_UNIT_NONE,
    DBSP_UNIT_PAGES,
    DBSP_UNIT_BYTES,
    DBSP_UNIT_KILOBYTES,
    DBSP_UNIT_MEGABYTES,
    DBSP_UNIT_GIGABYTES,
    DBSP_UNIT_TERABYTES
};
Parameters
Value Description
DBSP_UNIT_NONE Units not specified.
DBSP_UNIT_PAGES Size is specified in pages.
DBSP_UNIT_BYTES Size is specified in bytes.
DBSP_UNIT_KILOBYTES Size is specified in kilobytes.
DBSP_UNIT_MEGABYTES Size is specified in megabytes.
DBSP_UNIT_GIGAYTES Size is specified in gigabytes.
DBSP_UNIT_TERABYTES Size is specified in terabytes.
See also