Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between inner join and left join?
Does oracle use sql?
What is a behavioral trigger?
What is sql prepared statement?
Inline the values in PL/SQL, what does it mean.?
How do you take the union of two tables in sql?
what is 'trigger' in sql? : Sql dba
Is merge a dml statement?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
What are different sql data types?
How many types of functions are there in sql?
Why is theta join required?
Why commit is not used in triggers?
How do you optimize a stored procedure in sql?
What is difference between hql and sql?