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 is meant by jdbc and odbc?
What are the different types of resultset?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
What is jdbc odbc driver?
What is the advantage of namedparameterjdbctemplate?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
How to move the cursor in scrollable resultset ?
What is jdbc architecture in java?
What is jdbc connection class?
Explain the difference between inner and outer join ?
What are dml and ddl?
What are the types of jdbc drivers that exist?
Explain the two tier and three tier architecture of jdbc.
What are the types of statements in jdbc?
How do I disallow NULL values in a table?