Home » RDBMS Server » Server Administration » Nesting Packages
Nesting Packages [message #370022] Thu, 30 November 2000 10:46 Go to next message
Mohammad Syed
Messages: 18
Registered: November 2000
Junior Member
Hi. I am still a novice in PL/SQL and was wondering if there was a way to nest packages withing PL/SQL so as to create a true object-oriented API ?? I am assuming you do this by including a PACKAGE .... IS statement within an outer PACKAGE.... IS statement for the specifications and compiling the bodies separate. However i would like to know if anyone could share their experiences on this matter.
Re: Nesting Packages [message #370035 is a reply to message #370022] Fri, 01 December 2000 03:37 Go to previous message
John R
Messages: 156
Registered: March 2000
Senior Member
Can't be done as far as I know.

I can't quite see what difference there would be between a package containing several procedures, and a package containing other packages each of which contained some procedures, or why this would be more object oriented, unless you were also looking for some kind of inheritance based pl/sql syntax to create them with.
Previous Topic: check for numbers only in varchar2 field
Next Topic: row order from select statement
Goto Forum:
  


Current Time: Fri May 03 04:44:43 CDT 2024