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 PreparedStatement?

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


Please Help Members By Posting Answers For Below Questions

In which ways is driver class is registered with drive manager?

927


How can we execute stored procedures using callablestatement?

933


What are the exceptions in jdbc?

964


What does the jdbc resultsetmetadata interface?

948


What is getconnection method in java?

935


Explain the difference between resultset and rowset in jdbc

1006


What is layer in communication?

883


What are 4 drivers available in JDBC? At what situation are four of the drivers used?

961


Explain jdbc savepoint?

976


How to rollback a JDBC transaction?

1096


What is data source in java?

957


What is the most common example type 1 driver?

1031


What are temp tables ?

980


What is ojdbc?

944


How many types of jdbc drivers are available?

938