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 |
Types of joins ?
How will you distinguish a global variable with a local variable in pl/sql?
Is there a way to automate sql execution from the command-line, batch job or shell script?
What is rank function in sql?
What is the purpose of the primary key?
Can we insert data into view?
What are the triggers associated with image items?
what are all different types of collation sensitivity? : Sql dba
What is the function that is used to transfer a pl/sql table log to a database table?
Is it possible to create the following trigger: before or after update trigger for each row?
What is data type in database?
What are the syntax and use of the coalesce function?
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)