Relational Database Management System (RDBMS) Question:
Download Job Interview Questions and Answers PDF
Does PL/SQL support overloading? Explain?
Answer:
The concept of overloading in PL/SQL relates to the idea that you can define procedures and functions with the same name. PL/SQL does not look only at the referenced name, however, to resolve a procedure or function call. The count and data types of formal parameters are also considered.
PL/SQL also attempts to resolve any procedure or function calls in locally defined packages before looking at globally defined packages or internal functions. To further ensure calling the proper procedure, you can use the dot notation. Prefacing a procedure or function name with the package name fully qualifies any procedure or function reference.
PL/SQL also attempts to resolve any procedure or function calls in locally defined packages before looking at globally defined packages or internal functions. To further ensure calling the proper procedure, you can use the dot notation. Prefacing a procedure or function name with the package name fully qualifies any procedure or function reference.
Download RDBMS Interview Questions And Answers
PDF
Previous Question | Next Question |
Tables derived from the ERD? | What are stored-procedures? And what are the advantages of using them? |