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 a primary key example?
How do I debug a stored procedure?
What are tables and fields in the database?
What are the query optimization techniques?
what is the difference between nested subquery and correlated subquery?
How insert into statements in sql?
Is it possible for a table to have more than one foreign key?
What is the use of index in sql?
Can we join more than 2 tables in sql?
What are different functions in sql?
How would you convert date into julian date format?
What do you mean by dbms? What are its different types?
Explain the advantages and disadvantages of stored procedure?
What are user defined functions?
Which is better join or inner query?