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 the use of prepared statement?Ans:used to execute
pre compiled statement...so the question is when that
precompiled statement will be execute or
comiple?................

Answer Posted / anjani kumar jha

prepared statement work same as the statement,but there r
some differences.

wen u submitting the query first time following things happened
1)compiling the query
2)executing the query
3)sending results back to the program

2nd time onwards
1)executing the query directly
2) sending results back to the program

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version of JDBC? What are the new features added in that?

938


What are four types of JDBC driver?

1052


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

941


What is jdbc and odbc in java?

869


What is jdbc odbc connection?

922


Briefly tell about the jdbc architecture.

932


What is “dirty read” in JDBC? Which isolation level prevents dirty read?

947


What is Apache DBCP API?

952


What are the three basic components of the odbc architecture?

866


What are restrictions on triggers?

2160


What does the connection object represents?

1008


Give steps to connect to the db using jdbc?

968


Is jdbc a protocol?

878


What is the execute method in java?

946


Give an example for execution of sql statement.

962