Difference between stored Procedure and Function
                            
                         
                        
                     
                 
                
                    
Dear all,
I just not understanding difference between Stored procedure and function and
What is  the advantage when we using Stored procedure instead of Tables.
Please explain in detail.
Thanks & Regards
Muniyan