Answers

Question and Answer:

  Home  Sr.Java Web Developer

⟩ What is executeUpdate(String query)?

Statement executeUpdate(String query) is used to execute Insert/Update/Delete (DML) statements or DDL statements that returns nothing. The output is int and equals to the row count for SQL Data Manipulation Language (DML) statements. For DDL statements, the output is 0.

 153 views

More Questions for you: