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

am_drop

The database server calls am_drop for a DROP TABLE or DROP DATABASE statement.

Syntax

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

Usage

Even if the access method provides no am_drop purpose function, the database server automatically removes the dropped object from the system catalog tables. The database server no longer recognizes the name of the dropped object.

Return Values

MI_OK indicates success. MI_ERROR indicates failure.

Related Topics

See the descriptions of:

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