What are the two parts of a procedure ?
Answers were Sorted based on User's Feedback
Answer / chakri
Syntax of procedure :
CREATE OR REPLACE PROCEDURE proce_name (Arg list)
IS
LOCAL VARIBLE DECLARATION
BEGIN
----------
----------
---------
END;
In the about syntax
Up to IS key word called as Procedure Header and
Remaining Part is called as Procedure Body.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kirankumar.vangeti
create or replace procedure procedure_name as
Declare
/* Declarative section: variables, types, and local sub
programs */
Begin
/* Executable section: Procedural and sql statements go
here */
Exception
/* exception handling section: error handling statements go
here */
End;
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / a.jyothsna
Procedure specification: create or replace procedure proc-nm
(agumentlist)
procedure body: is-------------end
| Is This Answer Correct ? | 2 Yes | 5 No |
What is the difference between stored procedure and view?
What is meant by temporal data?
What are the ways on commenting in a pl/sql code?
Can a procedure in a package be overloaded?
Is it possible to create the following trigger: before or after update trigger for each row?
How you will create Toad Function?
What is a trigger in pl/sql?
If we have n no of columns in a table, can we add new column in that table with not null constraint?
if table named a is there and 4 records are there then how to swap (1 and 3) and (2 and 4) records at a time
How to look at the current sql*plus system settings?
Is pl sql still used?
Do you know the basic structure of PL/SQL?
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)