Explain Difference Between Procedure And Function.

Explain Difference Between Procedure And Function.


  • 2 Feb, 2012

    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.Function and Procedure both are PL/SQL blocks, main difference between function and procedure is -Function has to return some value using return clause whereas procedure may or may not return any value( no out parameter).We can use functions in SQL query but can't use procedure.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.