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

Why is sharding used?

550


What is an inconsistent dependency?

579


What is difference between hql and sql?

503


How do you concatenate in sql?

548


What is pl sql and why it is used for?

569






How do you declare a user-defined exception?

526


Does execute immediate commit?

695


What is a primary key? Explain

538


What is a table?

565


what are all different types of collation sensitivity? : Sql dba

523


What is union and union all keyword in sql and what are their differences?

572


What is trigger and stored procedure in sql?

554


How to write pl sql program in mysql command prompt?

511


How does sql store data?

481


What is pl/sql table? Why is it used?

558