Progress
SQL-92
Guide and Reference


SQLIStatement

Allows immediate (one-time) execution of SQL statements that do not generate a result set.

Constructors

SQLIStatement (String statement)

Parameters
statement

An SQL statement that does not generate a result set. Enclose the SQL statement in double quotes.

Throws

DhSQLException

EXAMPLE

This code fragment illustrates the SQLIStatement class:

CREATE PROCEDURE insert_customer (
IN  cust_number INTEGER,
IN  cust_name   CHAR(20)
)
 
BEGIN
     SQLIStatement insert_cust = new SQLIStatement (
        "INSERT INTO customer VALUES (?,?) ");
END 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095