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

difference between anonymous blocks and sub-programs.

818


how to convert dates to character strings? : Sql dba

731


What is the difference between drop and truncate commands?

704


Explain the rollback statement?

769


What is the most restrictive isolation level? : Transact sql

768






What is sql engine in oracle?

721


Can we join tables without foreign key?

693


What is asqueryable?

712


What is aggregate function in sql?

736


What is the difference between union and union all command?

740


How much does sql certification cost?

743


How to use sql statements in pl/sql?

798


Can we use distinct and group by together?

783


Why do we need view in sql?

730


Which kind of parameters cannot have a default value in pl sql?

805