what is the difference between stored procedure and packaged
procedure

Answer Posted / sanjeev verma

A Storeprocedure is a Set of transactionl SQL statements
which will do some operation. Storedprocedure is
precomplied . When we use sp's in our application it will
reduce network traffic because we need to just call the sp
from our appliaction by using the name of the sp and the
parameters, and no need of writing queries in the code.

A package is a collection of storedprocedures. A package
should have a declaration part and a body part. The
declaration part is used to declarte the stored procedures
and the body part is used to implement the storedprocedures.

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the full form of sql?

540


What are the two different parts of the pl/sql packages?

570


What is schema in sql example?

602


What is insert command in sql?

530


What is the difference between a subquery and a join?

531






How show all rows in sql?

616


What are triggers in sql?

583


how can I make a script that can be bi-language (supports english, german)? : Sql dba

542


What is a field in a database?

574


Can you inner join the same table?

531


What is pragma in pl sql?

604


define data blocks ? : Sql dba

552


How do you modify a column in sql?

540


what is user defined functions? : Sql dba

552


What is numeric function sql?

544