CodeCharge Studio

getRows Method (Java)

Applies to

JDBCConnection Object

Syntax

public Enumeration getRows(java.lang.String sql,int start,int max);
public Enumeration getRows(java.sql.ResultSet,int,int);
public Enumeration getRows(java.lang.String);
public Enumeration getRows(java.sql.ResultSet);

Return value

Enumeration - the data produced by the given query in form of Enumeration object

Parameters

Name Type Description
sql String The Static SQL SELECT statement
start unt The position of first record to read
max int The maximum number of records to read

Description

This method returns Enumeration of DbRows representing records from the ResultSet


On-line, printable versions and updates