SHASHANGKA SHEKHAR'S BLOG

Author, TechWriter

Difference between Stored Procedure and Function

Hits: 291

  • Function must return a value but in Stored Procedure it is optional( Procedure can return zero or n values).
  • Functions can have only input parameters for it whereas Procedures can have input/output parameters .
  • Functions can be called from Procedure whereas Procedures cannot be called from Function.

Post a comment