Home | Previous Page | Next Page   Purpose-Function Reference > Purpose-Function Syntax >

am_create

The database server calls am_create to process a CREATE TABLE statement.

Syntax

mi_integer am_create(MI_AM_TABLE_DESC *tableDesc)
tableDesc
points to the table descriptor.

Usage

Even if the access method does not provide an am_create function, the database server automatically adds the created object to the system catalog tables, such as systables. For example, a user might issue the CREATE TABLE command to register an existing, external table in the database server system catalog.

The am_create function typically:

Important:
By default, transaction logging is disabled in sbspaces. To find out how to turn logging on, refer to Ensuring Data Integrity.

Return Values

MI_OK indicates success. MI_ERROR indicates failure.

Related Topics

In this manual, see the description of:

In the IBM Informix: DataBlade API Programmer's Guide, see the descriptions of:

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]