what is the difference difference between procedure and
packages

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between distinct and unique in sql?

464


Mention what does the hierarchical profiler does?

549


how to create a table index in mysql? : Sql dba

588


What is loop in pl sql?

565


What is a primary key sql?

553






Where can I learn sql for free?

498


How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?

585


When should I use nosql database?

544


what is 'mysqldump'? : Sql dba

560


Why do we use procedures in pl sql?

513


What is an exception in PL/SQL? What are the two types of exceptions?

618


How do I count rows in sql query?

482


Is sql similar to python?

527


How does one load ebcdic data? : aql loader

639


List different type of expressions with the example.

544