CoolInterview.com Both(functions and Procedures) are the Oracle Objects that work explicitly towards database objects like Tables,Views. The diff. b/t Stored Procedures and Functions 1) The procedures doesn't return values. whereas the function returns value. 2) The procedures accept more than one argument whereas the functions not. Source: CoolInterview.com
CoolInterview.com Diff between Function and Procedure 1)Procedure is used in PLSQL block as a statment whereas Function is used as expression in the PL/SQL block. 2)Function can be used in SQL (with some restriction) but procedure can't. 3)Procedure cann't returns any value but fuction has to return a value. Source: CoolInterview.com Posted by: Shailesh Rai
Contact Shailesh Rai
CoolInterview.com Procedure & function both are database object that works explicitly The main Difference Between Procedure & function is; 1)Function should return a value But procedure may or maynot return value. 2)Function doesn't accept parameter where as procedure accept parameter. Source: CoolInterview.com Posted by: pranab kumar mishra
Contact pranab kumar mishra
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.
Answer should be complete in itself.