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
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
What is the difference between delete, truncate and drop command?
What is case function?
What are the different types of tables in sql?
What are the rules to be applied to nulls whilst doing comparisons?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
What are the types of join in sql?
Why we use stored procedure instead of query?
What is sqlservr exe?
Can a commit statement be executed as part of a trigger?
What is date functions?
How do I quit sql?
what is the difference between primary key and unique key? : Sql dba
List out the acid properties and explain?
What is the difference between Union and Union all. Which is faster.