Previous Topic

Next Topic

SQLPStatement

Description

Methods of the SQLPStatement class provide for prepared (repeated) execution of c-treeSQL statements that do not generate a result set.

Note: SQLPStatement can be used to call stored procedures that do not have result sets.

Constructors

SQLPStatement (String statement)

Parameters

statement

A c-treeSQL statement that does not generate a result set. Enclose the statement in double quotes.

Throws

DhSQLException

Example


SQLPStatement pstmt = new SQLPStatement (
    "INSERT INTO T1 VALUES (?, ?) ") ;
.
.
.