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

What driver should I use for scalable Oracle JDBC applications?

1020


What is the JDBC syntax for using a literal or variable in a standard Statement?

1038


Is jpa faster than jdbc?

925


What are the utilities of the callablestatement?

1060


What does executeupdate return in java?

1086


What is 2 phase commit?

1248


What is a java driver?

1068


What is JDBC Statement?

1039


Does jpa use jdbc?

979


What are the three parts of a jdbc url?

1076


What is the meaning of “dirty read” in the database?

1087


What is jdbc drivers in java?

968


What are the basic exceptions in jdbc?

1167


What is preparedstatement in jdbc?

1010


Which type of JDBC driver is the fastest one?

1135