Difference between Function and Stored Procedure?

Answer

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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
z
 
 
 
 
 
 
 
 

All sql Questions

Ask your interview questions on sql

Write Your comment or Questions if you want the answers on sql from sql Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---