Cu
UDF can be used in the SQL statements anywhere in t
he WHERE/HAVING/SELECT section where as
Stored procedures cannot be.
UDFs that return tables can be treated as another r
owset. This can be used in JOINs with other tables.
Inline UDF's can be though of as views that take pa
rameters and can be used in JOINs and other
Rowset operations.