Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a PreparedStatement?

Answers were Sorted based on User's Feedback



What is a PreparedStatement?..

Answer / umamaheswari

PreparedStatement used to send SQL Statement to the Database
It not only contains the SQL Statement ,but also the
precompiled SQL Statement.It means that when the
PreparedStatement is executed ,the DBMS just run the SQL
Statement without compiling it

Is This Answer Correct ?    6 Yes 0 No

What is a PreparedStatement?..

Answer / ganesan

If you want to execute a Statement object many times, it
normally reduces execution time to use a PreparedStatement
object instead.

Is This Answer Correct ?    5 Yes 1 No

What is a PreparedStatement?..

Answer / kalyan

If same query is executed multiple times over DB for
different values, we go for preparedStatement

PreparedStatement ps = con.prepareStatement(
"UPDATE TABLE_NAME SET COLUMN = ? WHERE COF_VALUE
LIKE ?");

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More JDBC Interview Questions

What is executeupdate in java?

0 Answers  


What is JDBC Connection? Explain steps to get Database connection in a simple java program.

0 Answers  


Which interface handles transaction management in jdbc?

0 Answers  


What are the differences between setmaxrows(int) and setfetchsize(int)?

0 Answers  


What is jdbc vs odbc?

0 Answers  


What is Type-3 Driver and when this driver is used?

3 Answers   Wipro,


Is jdbc open source?

0 Answers  


How do I stop nullpointerexception?

0 Answers  


How can we move the cursor in a scrollable result set?

0 Answers  


Is JDBC a language or Application?

3 Answers  


What are the different types of statements?

4 Answers  


what exactly happens when we execute "Class.forname("Driver class name");"?Explain indetail

10 Answers   Accenture, HP, IBM, Infosys, SAP Labs, SAS, Sasken, Trigent, Wipro,


Categories