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
What is a left inner join?
How do you rank data in sql?
Is time a data type in sql?
Can we use delete in merge statement?
How to look at the current sql*plus system settings?
Is nosql faster than sql?
what are the drivers in mysql? : Sql dba
What is Collation Sensitivity ? What are the various type ?
Can we create table inside stored procedure?
What are literals in sql server?
How is sql used in oracle?
Is sql microsoft?
How to avoid duplicate records in a query?
What is plpgsql language?
What is the difference between a subquery and a join?