What is the difference Function and Stored Procedure? Sumit Kesarwani194022-Dec-2013c#c# Updated on 13-Sep-2020
Sumit Kesarwani
22-Dec-2013UDF 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.