What is a Procedure ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How do you use collections in procedure to return the resultset?
What is meant by Join? What are the different types of Joins available? Explain.
What is the usage of nvl function?
write a query to delete similar records in particular fields(columns) in different tables
how many values can the set function of mysql take? : Sql dba
What is a common use of group by in sql?
why we go for package? what are the advantages of using instead of seperate procuderes or functions
What is compound trigger?
List out the acid properties and explain?
how to delete an existing column in a table? : Sql dba
What is a trigger in sql?
How can I see all tables in sql?