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

explain primary keys and auto increment fields in mysql : sql dba

622


Write the alter statement to enable all the triggers on the t.students table.

771


What is audit logout in sql profiler?

671


Can you have more than one key in a database?

600


What is difference between mysql and postgresql?

604






Is left join and outer join same?

647


How can you get sql*loader to commit only at the end of the load file? : aql loader

635


What is difference between inner join and self join?

683


Enlist the data types that can be used in pl/sql?

651


What is set serveroutput on in pl sql?

690


What are tables in sql?

633


How does postgresql compare to mysql?

669


What is pragma in sql?

705


What is the most common sql injection tool?

632


What is java sql connection?

601