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


Please Help Members By Posting Answers For Below Questions

what is bdb (berkeleydb)? : Sql dba

566


What is a join?

621


what is a field in a database ? : Sql dba

541


How to connect a sql*plus session to an oracle server?

619


Is sql dba a good career? : SQL DBA

529






what is acid property in database? : Sql dba

559


How does cross join work in sql?

533


What type of join is sql join?

529


How can a function retun more than one value in oracle with proper example?

580


What is rename command in sql?

463


What is data manipulation language?

696


How would you reference column values before and after you have inserted and deleted triggers?

619


how to enter characters as hex numbers? : Sql dba

565


How do I run a sql query?

528


What are the uses of merge?

717