What is the basic structure of PL/SQL ?
Answers were Sorted based on User's Feedback
Answer / vasan
Declare (Optional)
begin (Mandatory)
exception(Optional)
end; (Mandatory)
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / dinesh mishra
Header (named module only)
Declaration (IS)
Execution (BEGIN)
Exception
END;
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / menan
declaration part;
begin
executable part;
exception handling;
end;
| Is This Answer Correct ? | 5 Yes | 0 No |
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 |
Answer / kannan
# 4
Declare (Optional)
begin (Mandatory)
exception(Optional)
end; (Mandatory)
| Is This Answer Correct ? | 0 Yes | 2 No |
Main diff between varray and nested tablea
What are tables and fields in the database?
how to rename an existing table in mysql? : Sql dba
What is the use of sqldataadapter?
Differentiate between % rowtype and type record.
What is number function in sql?
Enlist the advantages of sql.
Do foreign keys improve performance?
how to load data files into tables with 'mysqlimport'? : Sql dba
what eliminate duplicate without using roenum and not
Is sql microsoft?
What is extent clause in table space?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)