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
What are the jdbc api components?
What is jdbc and jpa?
What are the main components of JDBC ?
Why hibernate is better than jdbc?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
Why do we need a jdbcrowset like wrapper around resultset?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
Explain about column name and getter method?
What do you understand by jdbc statements?
What are the factors that the jdbc driver performance depends upon?
Define preparedstatement.
What are the steps required to execute a query in jdbc?
Why do we use jdbc?
What is a statement?
How to insert and delete a row programmatically? (new feature in JDBC 2.0)