java - Difference between procedures/functions and objects in Oracle PL/SQL -


i stumbled upon concept of objects in pl/sql , started pondering on difference between oracle pl/sql procedures/functions , objects. need know functional difference.

ps: familiar java.

function allows value return return statement.

procedure has no such return value. possible return values declaring parameter out rather default in. there in out.

object in oracle other concept , has nothing procedure , function , more class definition know java. though comparison bit weak. there useful documentation on oracle objects, e.g. link http://docs.oracle.com/cd/b28359_01/appdev.111/b28425/obj_types.htm

package though have not asked it, should mentioned. oracle package contains collection of functions , procedures (and more). package consists of declaration , package body. defined in package declaration can accessed outside rest private.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -