Returns a whole number for the named column in the specified result set callable statement object.
Syntax
getInteger( resultset , index )
resultset.getInteger( index )
getInteger( callablestatement , index )
callablestatement.getInteger( 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.getInteger( 1 )
|