Resultset

NES3+Syntax

Core object created by the Stproc.resultSet().

Description

The Resultset object is one of the core server-side JavaScript objects. This object is created by the resultSet() method of the Stproc object. For stored procedures run against DB2, Oracle, Sybase, and ODBC databases, the stored procedure object has one Resultset object for each SQL SELECT statement executed by the procedure. An Informix stored procedure, on the other hand, has one Resultset object.

Each instance of this object has a property for each column in the result set. For Oracle, Sybase, and ODBC stored procedures, these properties can be referred to by the column name. Informix and DB2 stored procedures do not have named columns, so you must use a zero-based ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.