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 a database? : Sql dba

609


When can we use the where clause and the having clause?

578


Why use subqueries instead of joins?

607


What is sql and how does it work?

549


Do ddl statements need commit?

540






what is rollback? : Sql dba

593


What does where 1/2 mean in sql?

533


What is the difference between instead of trigger and after trigger?

513


When sql appeared?

621


What are different types of queries in sql?

524


what are the performance and scalability characteristics of mysql? : Sql dba

532


How can get second highest salary in sql?

508


what are the disadvantages of mysql? : Sql dba

574


How can I get the number of records affected by a stored procedure?

577


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

2572