DhSQLException

Example

The following excerpt from a stored procedure instantiates an SQLCursor object called cust_cursor that retrieves data from a database table:

SQLCursor empcursor = new SQLCursor ( "SELECT name, sal FROM emp " ) ;

The following excerpt from a stored procedure instantiates an SQLCursor object called cust_cursor that calls another stored procedure:

t_cursor = new SQLCursor ( "CALL get_customers (?) ") ;