sql_fetch

Use

You use this DBM command after executing sql_execute to display more result data in the same database session.

See also:

Database Administration Tutorial, Executing a Succession of Database Statements

Prerequisites

?     You have the server authorization AccessSQL.

?     You have executed the SQL statement (see: sql_execute). The keyword CONTINUE in the reply indicates that the results data has not yet been displayed completely.

Syntax

sql_fetch

Reply

OK

[END|CONTINUE]

[<record>

<record>

...]

Values for the Reply Fields

Field

Description

END

The reply was transferred in full.

CONTINUE

More data records are available but were not transferred due to the limited size of the reply package.

<record>

Result data of the SQL statements

The fields in a data record are separated by semicolons.
Character strings are output in single quotation marks.