Question { 10374 }
What is the difference between Userdefined function and
stored procedure? Explain and give the example also
Answer
1. function always run with select command while stored
procedure execute with execute command
2. function not provide output parameter facility
while stored procedure provide output facility
3. function always execute means it execute more than one
time while store procedure execute only one time