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 |
Why truncate is used in sql?
how to increment dates by 1 in mysql? : Sql dba
What is varchar sql?
what is the difference between inner and outer join? Explain with example. : Sql dba
How to create a view on a table which does not exists
What are the types of triggers ?
26 Answers Aspire, BirlaSoft, TCS,
why we use nocopy?
What information is needed to connect sql*plus an oracle server?
Is pl sql a scripting language?
What is difference between cursor and trigger?
Is left join same as join?
What will you get by the cursor attribute sql%rowcount?