Answer Posted / sowmya
prepared statement is the type of statement used to
interact with database.
To avoid syntactical complexities its the better approach
(eg:double quotes used with query strings)
we can insert many rows using single prepared statement.
eg:String str="insert into tab values("?,?,?")";
PreparedStatement stmt=con.prepareStatement(str);
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is jdbc driver for sql server?
What are the types of statements in jdbc?
What is the limitation of PreparedStatement and how to overcome it?
What is java soft framework?
How many ways can you update a result set?
What is jdbc in java?
What is jdbc type?
What is odbc and jdbc?
What is jdbc and its types?
What causes the "No suitable driver" error?
How to connect multiple database in jdbc?
What are the new features added to JDBC 4.0?
What is the purpose of the jdbc resultset interface?
How can we store and retrieve images from the database?
What is the return type of execute, executequery and executeupdate?