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

There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

0 Answers  


Is jdbc a protocol?

0 Answers  


What are the types of statements in jdbc?

0 Answers  


what does the method Class.forName returns?

4 Answers   Siemens, TCS,


What is jdbc odbc connection?

0 Answers  


Does sql allow null values ?

0 Answers  


How do I receive a ResultSet from a stored procedure?

0 Answers  


what are the Different types of exceptions in JDBC?

1 Answers  


What is namedparameterjdbctemplate?

0 Answers  


What is createstatement method in java?

0 Answers  


What is jdbc dialect?

0 Answers  


Why do we use jdbc statements?

0 Answers  


Categories