WHAT IS THE DIFFERENCE FUNCTION AND STORED PROCEDURE?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
C# 
C#
 1178  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What is the difference Function and Stored Procedure?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!