What is the different between Stored Procedure and Procedure?

Answer Posted / sachin fulari

In Layman tounge -
---------------
Whenever any named block in PL/SQL is created using CREATE
OR REPLACE clause, and as we compile it will get stored in
database, henceforth other code snippets can call/use this
block which ulimately resides in database after creation
i.e. "stored in database". And thus will move along
database if ever we move the database.


In oracle way -
---------------

A stored procedure is created and stored in the database as
a schema object. Once created and compiled, it is a named
object that can be run without recompiling. Additionally,
dependency information is stored in the data dictionary to
guarantee the validity of each stored procedure.

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a control file ? : Sql dba

569


How can we find duplicate records in a table?

508


What is the sql case statement?

566


What is the largest value that can be stored in a byte data field?

515


What is a composite primary key?

574






What are the types of join in sql?

512


Can instead of triggers be used to fire once for each statement on a view?

534


what is the difference between undefined value and null value? : Sql dba

551


Can we perform dml on view?

548


What are the ways on commenting in a pl/sql code?

509


Which certification is best for sql?

529


What is sql*plus?

561


what is the difference between cluster and non cluster index? : Sql dba

547


Is sql a backend language?

610


What is parallel hint?

739