What is the use of prepared statement?Ans:used to execute
pre compiled statement...so the question is when that
precompiled statement will be execute or
comiple?................
Answer Posted / nagashree
Prepared statements are used due to its 2 advantages.
Advantages:
1) We can give dynamic values.
2) The statement will be compiled only once, it need not be
compiled each & every time we give new values.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can I use JDBC to execute non-standard features that my DBMS provides?
How many types of jdbc drivers are available?
What is difference between odbc and jdbc?
What is jdbc drivers in java?
What is jdbc servlet?
What is jdbc and explain jdbc architecture?
Which is better jpa or jdbc?
What are the different types of locking in JDBC?
Write an sql to find all records having all upper case alphanumeric characters in a field ?
What is JDBC Transaction Management and why do we need it?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
How do I disallow NULL values in a table?
What is a jdbc driver and how many jdbc drivers are available?
What is JDBC PreparedStatement?
What does the connection object represents?