Answer Posted / kalyan
If same query is executed multiple times over DB for
different values, we go for preparedStatement
PreparedStatement ps = con.prepareStatement(
"UPDATE TABLE_NAME SET COLUMN = ? WHERE COF_VALUE
LIKE ?");
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the steps required to execute a query in jdbc?
Where is jdbc used?
Explain the steps in writing a java program using jdbc?
What is difference between jdbc and odbc?
Why is odbc needed?
RowSetInternal caller and returns void. What can I do in the readData method?
What does executeupdate return in jdbc?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What do you understand by jdbc driver and explain its types?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
How many types of JDBC Drivers are present and what are they?
What is isolation level? How to set it?
What is preparedstatement in jdbc?
What does the jdbc resultsetmetadata interface?