Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function returns the number of rows that was were affected by the the executeUpdate function.

Code Block
int CallableStatement.getUpdateCount(any resultIdentifier);

...

ParameterDescription

resultIdentifier

The Result Identifier that is returned from the executeUpdate function

Returns

For Oracle databases, it returns this statement: The number of rows in the database that

was

were affected by the call. If an update exists, -1 will be returned.

For MySQL and PostgreSQL databases, it returns this statement: The number of rows in the database that were affected by the update. 


getError
Anchor
getError
getError

...

FieldDescription
ErrorCode (int)The SQL error code.
ErrorMessage (string)The SQL error message.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: