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 |
What are triggers and its types?
what are the join types in tsql? : Transact sql
Explain the select statement in sql?
What is tuple in sql?
What is schema in sql example?
how to enter binary numbers in sql statements? : Sql dba
What can I use instead of union in sql?
What are tables and fields?
What are string functions in sql?
How many triggers can be applied on a table?
What action do you have to perform before retrieving data from the next result set of a stored procedure ?
How can we Get the Updated Rows? ie, There is 100s of Rows i updated the Rows who have salary 5000. then i want to select the Updated Rows. How can we achieve it?
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)