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 java sql drivermanager?
What are the uses of sysdate and user keywords?
what are date and time data types in mysql? : Sql dba
What are three advantages to using sql?
What is database white box testing and black box testing?
What are the disadvantages of file system?
What is insert command in sql?
what is row? : Sql dba
How to write pl sql program in mysql command prompt?
What is a unique key?
what is a constraint? : Sql dba
what are the features and advantages of object-oriented programming? : Sql dba
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
Can we join more than 2 tables in sql?
What is parameter substitution in sql?