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 is number function in sql?
2. Select A.A from ( select 1 as from dual Union select 1 as from dual)A Full outer join ( select 1 B from dual Union select 2 B from dual)B On A.A=B.B
Compare SQL and PL/SQL.
How to return more than one value from a function?
Explain how to use transactions efficiently : transact sql
Explain what is sql*plus?
What is an exception in pl/sql?
Are dml statements autocommit?
What is the source code of a program?
i have a table with fields(id,name,accnt_type)and in account type are FD,SAVING,RD. Write a query to get How many number of People are in each type of Account?
What is the use of <> sql?
Can i possible to see Table Details ? Ex : Table Name Date Time User Emp May/18/2010 12:59pm Scott
Oracle (3253)
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)