What is the difference between ExecuteUpdate and
ExecuteQuery?



What is the difference between ExecuteUpdate and ExecuteQuery?..

Answer / 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

More JDBC Interview Questions

What is jndi lookup?

0 Answers  


Explain the two tier and three tier architecture of jdbc.

0 Answers  


I have written a program to connect to database using odbc.Can this Application run on any Platform????

2 Answers  


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

0 Answers  


What is the difference between jdbc and jndi?

0 Answers  






write down exceptions those appear in java programs when u write JDBC Programs?

2 Answers  


How can we execute stored procedures using callablestatement?

0 Answers  


What is JDBC Savepoint? How to use it?

0 Answers  


What is a Connection?

1 Answers  


commit() and rollback() methods are defined in which interface?

5 Answers  


What does the jdbc resultset interface?

0 Answers  


What is db client?

0 Answers  


Categories