What is a Procedure ?

Answers were Sorted based on User's Feedback



What is a Procedure ?..

Answer / guest

Procedure is a stored database object and can be called
when is required. Procedure can have three parameters
IN,INOUT,OUT .IN is default parameter in a Procedure.

Ideally Procedure doesn't return a value but if required
same can be achieve throug OUT Parameter.

Syntex is :
CREATE OR REPLACE PROCEDURE <<Procedure Name>>
(<<PARAMETERLIST DATATYPE>>
IS
BEGIN
<<Code Here>>;
END <<Procedure Name>>;
In procedure arguments datatype size is not required.

Is This Answer Correct ?    2 Yes 0 No

What is a Procedure ?..

Answer / raju.r

It's set of pre-compiled set of SQL statements. no need for
compile the procedure again and again..

Is This Answer Correct ?    0 Yes 0 No

What is a Procedure ?..

Answer / shivashanker

Procedure is named pl/sql block or sub-program used to manipulated the data within the databse.OR It is used to perform some action within the databse

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How do you use collections in procedure to return the resultset?

0 Answers  


What is meant by Join? What are the different types of Joins available? Explain.

5 Answers   Cap Gemini,


What is the usage of nvl function?

0 Answers  


write a query to delete similar records in particular fields(columns) in different tables

6 Answers   TCS,


how many values can the set function of mysql take? : Sql dba

0 Answers  






What is a common use of group by in sql?

0 Answers  


why we go for package? what are the advantages of using instead of seperate procuderes or functions

3 Answers   IBM, TCS,


What is compound trigger?

0 Answers  


List out the acid properties and explain?

0 Answers  


how to delete an existing column in a table? : Sql dba

0 Answers  


What is a trigger in sql?

0 Answers  


How can I see all tables in sql?

0 Answers  


Categories