What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / p.l.n.kumar
ExecuteUpdate is used to execute Insert,Update and
Delete... statements.it's return type is 'int' .
ExecuteQuery is used to execute Select.... statements.It's
return type is 'Resultset' object.
| Is This Answer Correct ? | 45 Yes | 8 No |
Post New Answer View All Answers
What is the use of getGeneratedKeys() method in Statement?
What is a jdbc url?
Which package contains jdbc api?
What is ODBC and JDBC? How do you connect the Database?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
Which type of driver provides jdbc access via one or more odbc drivers?
How can I get information about foreign keys used in a table?
What is the role of class.forname while loading drivers?
What is a statement?
Where is mysql jdbc driver located?
What does the jdbc resultsetmetadata interface?
How do I start debugging problems related to the JDBC API?
Which is faster jdbc or odbc?
Is jdbc a protocol?
Does sql allow null values ? Can we use it within where clause ?