What is the difference between a procedure and a function ?

What is the difference between a procedure and a function ?
Functions return a single variable by value whereas procedures do not return
any variable by value. Rather they return multiple variables by passing
variables by reference through their OUT parameter.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.