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

am_beginscan

The database server calls am_beginscan to start a scan on a virtual table. This function initializes the scan.

Syntax

mi_integer am_beginscan(MI_AM_SCAN_DESC *scanDesc)
scanDesc
points to the scan descriptor.

Usage

The functions that the access method supplies for am_beginscan, am_getnext, and am_endscan compose the main scan-management routines. In its turn, the am_beginscan purpose function can perform the following operations:

You can also choose to defer any processing of qualifications until the am_getnext function.

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 ]