difference procedure and function in sql

07:00 am 01/01/1970