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
Can we call a function containing dml statements in a select query?
Can we use join in subquery?
How many types of cursors are available in pl/sql?
What is a null value?
What is delete command in sql?
What is a delimiter in sas?
What are all different types of collation sensitivity?
What is primary key and foreign key?
what does the t-sql command ident_current does? : Transact sql
How do I run sql profiler?
What is full join?
Does user triggers have entry for trigger with compilation errors?
what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba
Mention what are different methods to trace the pl/sql code?
What is the difference between clustered and non-clustered index in sql?