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.


October 10, 2007 02:04:08 #10
 venkat   Member Since: Visitor    Total Comments: N/A 

RE: Difference between procedure and function.
 

We can perform DML statements in a function. But we can't call this function in a SELECT statement

     

 

Back To Question