23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Java Class <strong>Reference</strong><br />

258<br />

<strong>SQL</strong>Cursor.registerOutParam<br />

Registers OUT parameters.<br />

Format<br />

Returns<br />

registerOutParam( int fieldIndex, short fieldType [ , short scale ] )<br />

None<br />

Parameters<br />

fieldIndex<br />

An integer that specifies the position of the parameter in the parameter list.<br />

fieldType<br />

A short integer that specifies the data type of the parameter.<br />

The allowable defined values for fieldType are listed in Table 58, grouped by category of data<br />

type.<br />

Table 58: Allowable values for fieldType in registerOutParam<br />

Character<br />

Throws<br />

Dh<strong>SQL</strong>Exception<br />

<strong>SQL</strong>Cursor.rowCount<br />

Returns the number of rows affected (selected, inserted, updated, or deleted) by the <strong>SQL</strong><br />

statement. This method is common to the <strong>SQL</strong>Cursor, <strong>SQL</strong>IStatement, and <strong>SQL</strong>PStatement<br />

classes.<br />

Format<br />

public int rowCount()<br />

Exact<br />

numeric<br />

Approximate<br />

numeric Date-time Bit string<br />

CHAR INTEGER REAL DATE BIT<br />

CHARACTER SMALLINT FLOAT TIME BINARY<br />

VARCHAR TINYINT DOUBLE TIMESTAMP VARBINARY<br />

– NUMERIC – – LVARBINARY<br />

– DECIMAL – – –

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!