Answered Questions

  • Difference between procedure and function.

    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.

    usha`

    • Aug 19th, 2011

    Functions can be used in a select statement where as procedures cannot.

    functions cannot return values where as procedures can.

    functions can be used as user defines data types in create table but procedures cannot.