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 |
Can we use two order by clause in query?
How do I order by ascending in sql?
What is clustered index in sql?
How to execute a stored procedure?
can we call a procedure from a function?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is the default isolation level in sql server? : Transact sql
Explain the methods used to protect source code of pl/sql.
Mention what is the function that is used to transfer a pl/sql table log to a database table?
What are % type and % rowtype?
what is self-join? : Sql dba
what is not null constraint? : Sql dba