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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -