Skip Navigation Links
Home
Forum Home
Latest 50
Unanswered
All Time Leaders
Jump to CategoryExpand Jump to Category
Login 
    Welcome Guest!
 Search Forum For :  
X
 Login
Please login to submit a new post, reply and edit exiting posts, see user profiles, and access more features. If you are not a registered member, Register here.
User Id / Email:
Password:  
Forgot Password | Forgot UserName
   Home » PL/SQL » procedure vs function vs anonymous block.
       
Author Reply
Alviro Dan
posted 54 posts
since Dec 05, 2011 
from

 procedure vs function vs anonymous block.
  Posted on: 19 Feb 2012       
Hey guys,
What are the basic difference between procedure, function and anonymous block?
Sponsored by
Mike Starc
posted  65 posts
since  Dec 05, 2011 
from 

 Re: procedure vs function vs anonymous block.
  Posted on: 22 Feb 2012        0  
Function is mainly used in the case where it must return a value. Where as a procedure may or may not return a value or may return more than one value using the OUT parameter.
Stored Procedure supports deferred name resolution. Example while writing a stored procedure that uses table named tabl1 and tabl2 etc..but actually not exists in database is allowed only in during creation but runtime throws error Function wont support deferred name resolution.
Thanks.
       

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Site Map  |  Advertise with us
Current Version: 5.2011.3.12
 © 1999 - 2012  Mindcracker LLC. All Rights Reserved