Anup Shah on WPF and Silverlight (Programming Garden)

IT 's For You!!!

Wednesday, November 21, 2012

What is the difference Function and Stored Procedure?

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

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

3. Inline UDF›s can be though of as views that take parameters and can be used in JOINs and other Rowset operations.










A fire argues?
,

No comments:

Post a Comment