GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL

 Print  |  
Question:  Difference between procedure and function.


Answer:
Functions are named PL/SQL blocks that return a value and can be called with arguments procedure a named block that can be called with parameter. A procedure all is a PL/SQL statement by itself, while a Function call is called as part of an expression.


December 12, 2005 18:54:29 #3
 shyki8   Member Since: December 2005    Total Comments: 1 

RE: Difference between procedure and function.
 
procedure perform action.in procedure ,a return statement can't contain an expressionfuncation computing a value.in function return statement must conain expression
     

 

Back To Question