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 are the different types of statements?

Answer Posted / chandrarekha

Statement interface----createStatement() method is useful
to create statement object and to execute simple queries...

PreparedStatement interface---derived from the Statement
interface...preparestatement() method used to create
preparedstatement object and used to execute queries with
unknown parameters or where in the parameters are provided
at the run-time

CallabaleStatement interface----derived from the
preparedstatement interface and helpful in executing stored
procedures...prepareCall() method is used to create the
callabalestatement object

Is This Answer Correct ?    45 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlwarning and discuss the procedure of retrieving warnings?

953


Explain the two tier and three tier architecture of jdbc.

842


What causes no suitable driver error?

921


What are dml and ddl?

934


Can resultset be null in java?

872


What is a jdbc connection pool?

874


What class.forname does, while loading the drivers?

903


Why jdbc is used in java?

891


Give an example of code used for setting up connection with a driver.

897


What is database deadlock ?

1066


Explain jdbc savepoint?

912


Why prepared statements are faster?

895


What are the higher level apis under development on top of jdbc currently?

897


What is executequery in java?

840


Compare jdbc and odbc and how is jdbc required in this context.

869