Can you have multiple SPs with the same name on a database?
Answer Posted / harsha
Yes We can have multiple SP's with same name.This is called
overloading a Procedure with different parameters.
e.g. CREATE PROCEDURE COMPUTE_AREA (LENGTH IN NUMBER,
WIDTH IN NUMBER);
CREATE PROCEDURE COMPUTE_AREA (LENGTH IN NUMBER,
WIDTH IN NUMBER
UNITS IN NUMBER);
Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is ttitle and btitle?
What is clustered index in sql?
Can one improve the performance of sql*loader? : aql loader
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
How to raise user-defined exception with custom sqlerrm ?
Explian rowid, rownum?
Is it possible to link two groups inside a cross products after the cross products group has been created?
what is the difference between where clause and having clause? : Sql dba
What is rownum in sql?
Is record in oracle pl sql?
what is normalization? : Sql dba
Describe sql comments?
Explain the purpose of %type and %rowtype data types with the example?
What is sql keyword?
Can we insert in view in sql?