what function returns an int containing the affected row count for INSERT, UPDATE, or DELETE statements?

In JDBC, what function returns an int containing the affected row count for
INSERT, UPDATE, or DELETE statements?

In JDBC, what function returns an int containing the affected row count for
INSERT, UPDATE, or DELETE statements?

A.
executeUpdate(.

B.
execute(.

C.
Update(.

D.
runUpdate(.

E.
SQLUpdate(.

Explanation:
According to the online Java tutorial provided by Sun at java.sun.com
executeUpdate(. returns an int containing the affected row count for INSERT,
UPDATE, or DELETE statements, or zero for SQL statements that do not return
anything, like DDL statements.



Leave a Reply 0

Your email address will not be published. Required fields are marked *