Ans: Functions must return a value whereas Procedures may or may not Functions can be called from SELECT/UPDATE where procedures cant. Function takes one input parameter at-least as mandatory whereas Procedures may take 0 or n number of input parameters. Q: Difference Between UNION and UNION ALL? Ans: UNION ALL doesnt eliminate duplicate rows whereas UNION does a select distinct.