In this blog you will learn basic difference between Store Procedure and Functions.
Store Procedure
Function