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 stored procedures? How to call them?

Answers were Sorted based on User's Feedback



What are stored procedures? How to call them?..

Answer / hazarath k

Stored Procedure is a set of precompiled SQL statements
(i.e., ready for execution), which will be executed at
Database server(backend).
By using the Callable Statement,We can call the Stored
Procedure from front-end.Callable is an interface.Every
vendor can provide their own implementation classes for
this intercace.By using this Callable Statement, we can
call the Stored Procedure/Stored Function.

Ex/Syntax:
Connection con=DriverManager.getConnection("---
","UID","PWD");
CallableStatement cstmt=con.prepareCall('{call
ProcedureName}');

Is This Answer Correct ?    2 Yes 0 No

What are stored procedures? How to call them?..

Answer / guest

Stored procedures are stored programs in jdbc.pl/sql is a
stored procedure.they can be called from java by callable
statement.
CallableStatement st=con.prepareCall("{----}");

Is This Answer Correct ?    0 Yes 0 No

What are stored procedures? How to call them?..

Answer / subbu

A Stored procedure is a collection of sql statements that
are stored under a name & executed.when you create a stored
procedure all the steps like parsing,checking,compiling etc
are carried out.They can be called from java by using
prepareCall().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

Hi friends, In JDBC 4 drivers are there among this which driver is best and why it is best.Which driver is most commonly used in web applications.

6 Answers  


How can a java objects be stored in database?

3 Answers   IBM,


What does setautocommit do?

0 Answers  


How to update a resultset programmatically?

0 Answers  


What are the 4 types of jdbc drivers?

0 Answers  


What does jdbc do?

0 Answers  


What is jdbc and jdbc drivers?

0 Answers  


What is resultset in jdbc with example?

0 Answers  


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

0 Answers  


Explain the importance of drivermanager.

0 Answers  


What does executeupdate return in jdbc?

0 Answers  


Difference between Dirty, commited ,phantom,repeatable reads?

3 Answers  


Categories