What are the two parts of a procedure ?

Answers were Sorted based on User's Feedback



What are the two parts of a procedure ?..

Answer / chakri

Syntax of procedure :

CREATE OR REPLACE PROCEDURE proce_name (Arg list)
IS
LOCAL VARIBLE DECLARATION

BEGIN
----------
----------
---------
END;


In the about syntax

Up to IS key word called as Procedure Header and

Remaining Part is called as Procedure Body.

Is This Answer Correct ?    5 Yes 0 No

What are the two parts of a procedure ?..

Answer / siddhartha

Declaration and executable

Is This Answer Correct ?    6 Yes 3 No

What are the two parts of a procedure ?..

Answer / kirankumar.vangeti

create or replace procedure procedure_name as

Declare
/* Declarative section: variables, types, and local sub
programs */
Begin
/* Executable section: Procedural and sql statements go
here */
Exception
/* exception handling section: error handling statements go
here */
End;

Is This Answer Correct ?    1 Yes 0 No

What are the two parts of a procedure ?..

Answer / ramesh

Procedure specification (spec)
Procedure body

Is This Answer Correct ?    0 Yes 2 No

What are the two parts of a procedure ?..

Answer / tulsi

Procedure Specification and Procedure Body.

Is This Answer Correct ?    6 Yes 9 No

What are the two parts of a procedure ?..

Answer / a.jyothsna

Procedure specification: create or replace procedure proc-nm
(agumentlist)
procedure body: is-------------end

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More SQL PLSQL Interview Questions

How can you load multi line records? : aql loader

0 Answers  


What is the result, when NULL is compared with NULL?

22 Answers   TCS,


what is bdb (berkeleydb)? : Sql dba

0 Answers  


How to order siblings in oracle hierarchy queries?

0 Answers  


what is try_catch block in procedure

0 Answers  






define different types of trigger. : Sql dba

1 Answers  


What are the advantages of indexing?

0 Answers  


What is %s in sql?

0 Answers  


Why do we use %rowtype & %type in plsql?

0 Answers  


What are the blocks in stored procedure?

6 Answers   Microsoft,


Are views faster than queries?

0 Answers  


How many triggers can be applied to a table?

0 Answers  


Categories