What is the basic structure of PL/SQL ?

 PL/SQL  uses  block  structure  as its basic structure. Anonymous blocks or nested blocks can be used in PL/SQL.

Showing Answers 1 - 12 of 12 Answers

 

A PL/SQL block has three parts:

a declarative part,

an executable part,

and an exception-handling part.

 

 

First comes the declarative part, in which items can

be declared. Once declared, items can be manipulated in the executable part.

Exceptions raised during execution can be dealt with in the exception-handling

part.

ashish

  • Nov 21st, 2005
 

DECLARE

...........

BEGIN

...........

EXCEPTION

............

END;

  Was this answer useful?  Yes

Jayakumar M

  • Dec 6th, 2005
 

Declare [ Optional Section ]

Begin

Exception [ Optional Section ]

End;

  Was this answer useful?  Yes

Me

  • Oct 5th, 2007
 

Declaration
Begin
Exception Handling
End

  Was this answer useful?  Yes

g_sidhu

  • Feb 16th, 2008
 

PL/SQL is a block-structured language, meaning that programs can be divided into logical blocks. A PL/SQL block consists of up to three sections: declarative (optional), executable (required), and exception handling (optional).

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions