What is the basic structure of PL/SQL ?

Answers were Sorted based on User's Feedback



What is the basic structure of PL/SQL ?..

Answer / rajesh

Declare
begin
exception
end;

Is This Answer Correct ?    14 Yes 1 No

What is the basic structure of PL/SQL ?..

Answer / vasan

Declare (Optional)
begin (Mandatory)
exception(Optional)
end; (Mandatory)

Is This Answer Correct ?    8 Yes 0 No

What is the basic structure of PL/SQL ?..

Answer / dinesh mishra

Header (named module only)
Declaration (IS)
Execution (BEGIN)
Exception
END;

Is This Answer Correct ?    6 Yes 0 No

What is the basic structure of PL/SQL ?..

Answer / menan

declaration part;
begin
executable part;
exception handling;
end;

Is This Answer Correct ?    5 Yes 0 No

What is the basic structure of PL/SQL ?..

Answer / shekharjchandra

The basic structure of PL/SQL is

1. Header Section
2. Declaration Section
3. Executable Section
4. Exception Section

Eg:-

<<This_is_Header>>
DECLARE
a NUMBER ;
BEGIN
-- Code goes here
NULL;
EXCEPTION
WHEN OTHERS THEN
NULL ;
END ;

Is This Answer Correct ?    1 Yes 1 No

What is the basic structure of PL/SQL ?..

Answer / kannan

# 4

Declare (Optional)
begin (Mandatory)
exception(Optional)
end; (Mandatory)

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

What is difference between Procedures and Functions ?

6 Answers   Hi Caliber IT,


Table Student has 3 columns,Student_id,Student_Name & Course_Id. Table Course has 2 columns, Course_Id & Course_Name.Write a query to listdown all the Courses and number of student in each course.

10 Answers   TCS,


What is difference between hql and native sql?

0 Answers  


What is sql constant?

0 Answers  


How does sql profiler work?

0 Answers  






Explain the components of sql?

0 Answers  


Explain how to use transactions efficiently : transact sql

0 Answers  


What does a pl/sql package consist of?

0 Answers  


What is a recursive join sql?

0 Answers  


Is sql harder than python?

0 Answers  


what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba

0 Answers  


How do I clear the screen in sql plus?

0 Answers  


Categories