CodeCharge Studio

getOneRow Method (Java)

Applies to

JDBCConnection Object

Syntax

public DbRow getOneRow(java.lang.String sql);
public DbRow getOneRow(java.sql.ResultSet);

Return value

DbRow - DbRow containing result or null if recordset is empty.

Parameters

Name Type Description
sql String The SQL query string

Description

This method gets one row from SQL query result.


On-line, printable versions and updates