Difference between Procedure and Function?

Difference between Procedure and Function?

  1. Function  must return a value and procedure need not.
  2. Function can be used in SQL queries with some restrictions. Procedure cannot be called directly from SQL query.
You can watch this video tutorial for more clarifications on Procedures and Functions.

Comments

comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: