Next Previous Up Top Contents Index

1.3.3 The SQL statement class

<sql-statement>

Abstract class

Superclasses

<database-statement>

Description

Instances of this class represent an SQL statement and its state. This class has the following init-keywords:

text:
An instance of <string>. Required. Contains the text of the SQL statement. If you want to include host variables, place a question mark (?) at the point in the string at which you want a host variable to be substituted.

output-indicator:

An instance of <object>. The output indicator is a substitution value to be used whenever the column of a retrieved record contains the null value.

input-indicator:

An instance of <object>. The input indicator is a marker value used to identify null values in host variables.

coercion-policy:

An instance of false-or(<coercion-policy>). The coercion policy is a sequence of functions, or the value $default-coercion, or the value $no-coercion, used to perform data coercion when the SQL statement to be executed is a SELECT statement.

datatype-hints:

An instance of false-or(<sequence>). This is a hint for parameter binding when the SQL statement to be executed is a SELECT statement.

OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index