Returns a whole number for the named column in the specified result set callable statement object.
Syntax
getInt( resultset , index )
resultset.getInt( index )
getInt( callablestatement , index )
callablestatement.getInt( index )
Parameters
resultset
|
the result set object to use.
|
callablestatement
|
the callable statement object to use.
|
index
|
the index of the column.
|
Returns
integer
|
the whole number at the given column index.
|
Example
num = rs.getInt( 1 )
|