Product Documentation

FairCom Java & .NET Stored Procedures

Previous Topic

Next Topic

SQLCursor.fetch

Fetches the next record in a result set, if there is one.

Format

public void fetch()

Returns

None

Parameters

None

Throws

DhSQLException

Example


for (;;)

{

cust_cursor.fetch ();

if (cust_cursor.found ())

{

cust_cursor.getValue (1, INTEGER);

cust_cursor.getValue (2, CHAR) ;

}

else

break;

}

TOCIndex