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 classes and methods used for sending sql statements to database?
Why is odbc needed?
Why we use while rs next ())?
What is an SQL Locator?
What is the purpose of jdbc?
What is jdbc and explain jdbc architecture?
Explain the difference between inner and outer join ?
What is meant by dao?
What is the full form of jdbc and what is its purpose?
What are the common jdbc exceptions?
What is represented by the connection object?
What does jdbc setmaxrows method do?
Explain the two tier and three tier architecture of jdbc.
What are dml and ddl?
What is execute in java?