what is the difference difference between procedure and
packages
Answers were Sorted based on User's Feedback
Answer / kanchan kumari
procedure is named pl/sql block which is used by
programmer to perform any task these type of block exist in
database physically.
package is also named pl/sql block which is associated
with pl/sql variable, view, sub programs.
package can't be invoked
in other word we can say that package can contain more than
one procedure, function etc.but procedure can't
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / rajesh venati
A Procedure is a Named Pl/Sql program. Procedures are used
for to perform a particular task. Overloading concept is not
allowed in standard alone procedures.
Then go for Packages, package is grouping the collection of
database objects like procedures, functions, type, variable,
cursors and exception etc... Here overloading concept is
valid, we can define same name for database objects with
different type of parameters or data types.....
I believe this is useful.................
| Is This Answer Correct ? | 4 Yes | 0 No |
What is query optimization in sql?
What is a parameter query?
Can we update views in sql?
Can we use having without group by in sql?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
explain access control lists. : Sql dba
Does sql support programming?
Why do we need a foreign key?
how to load data with out header and footer records in a database using sql*loader? pls tell me the answer urgently
What is sql*plus?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
What is rtm stands for?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)