Skip to Main Content
  • Questions
  • Member procedures & Member function in plsql i.e member sub programs in oracle(plsql)

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Balakrishna.

Asked: July 17, 2016 - 2:44 pm UTC

Last updated: July 18, 2016 - 12:49 am UTC

Version: 12c

Viewed 1000+ times

You Asked

Hi Tom,

1)why we are using,what is purpose of Member procedures & member functions in plsql subprograms explain an example?
2)Difference between stored subprograms and member subprograms?

and Connor said...

Member routines are associated with using PLSQL in more of a object-oriented metaphor than procedural programming.

https://en.wikipedia.org/wiki/Object-oriented_programming

http://docs.oracle.com/database/121/ADOBJ/toc.htm

The code syntax is standard PLSQL but you are using the language in an OO fashion, namely, encapsulating object functionality behind member and constructor methods.

Hope this helps.

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library