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 nvl?
What is cursor explain with example?
how to decrement dates by 1 in mysql? : Sql dba
what is meant by databases
What is difference between sql and oracle?
Is left join inner or outer?
How many sql commands are there?
Define tables and fields in a database
What is trigger in sql?
Which data type is a composite type?
What is difference between ms sql and mysql?
What is meant by truncate in 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)