Sql server - stored procedures vs functions

Functions are computed values and cannot perform permanent environmental changes to SQL Server (i.e. no INSERT or UPDATE statements allowed).
A Function can be used inline in SQL Statements if it returns a scalar value or can be joined upon if it returns a result set.

enter image description here

Comments

Popular posts from this blog

public vs protected vs default access modifiers - Java

Class, Reference and Object