Fiserv Logo

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
procedure is used to perform particular tasks. out parameter is used to return output. can perform DML operations and not call from select statement. we can call function from procedure. procedur...read more
Select
Add answer anonymously...

Interview Questions from Popular Companies

Accenture Logo
3.7
 • 8.7k Interviews
Amazon Logo
4.0
 • 5.4k Interviews
HCLTech Logo
3.5
 • 4.1k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Cognizant Logo
3.7
 • 5.9k Interviews
Wipro Logo
3.7
 • 6.1k Interviews
Tech Mahindra Logo
3.5
 • 4.2k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
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

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits