
Asked in Fiserv and 8 others
What is the difference between a function and a stored procedure?

AnswerBot
2y
Functions return a single value while stored procedures execute multiple SQL statements.
Functions can be used in SELECT statements while stored procedures cannot.
Functions cannot modify the database w...read more
Sanjeevi Poojitha
2y
Function calculates the result of the given input of a program and procedure means its a certain task in a particular order based on the given input
ARUN YELPALE
2y
function must be return value but procedure may or may not be contain return value.
function can be called sql statement but procedure can not call sql statement
function can compile every time but pr...read more
sridhar Keerthi
3y
Function must returns the values but procedure may contain or may not contain Return values
dipali patil
3y
Add answer anonymously...
Interview Questions from Popular Companies

3.7
• 8.7k Interviews

4.0
• 5.4k Interviews

3.5
• 4.1k Interviews

3.6
• 7.9k Interviews

3.7
• 5.9k Interviews

3.7
• 6.1k Interviews

3.5
• 4.2k Interviews

3.7
• 5.1k Interviews
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

