Home > DeveloperSection > Interviews > What is the difference Function and Stored Procedure?

Posted on    December-22-2013 11:50 PM

 C# C# 
Ratings:
 1 Answer(s)
  954  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    December-22-2013 1:00 AM

UDF can be used in the SQL statements anywhere in the WHERE/HAVING/SELECT section where as Stored procedures cannot be.

UDFs that return tables can be treated as another row set. This can be used in JOINs with other tables.

Inline UDF can be thought of as views that take parameters and can be used in JOINs and other Row set operations.


Don't want to miss updates? Please click the below button!

Follow MindStick