
Asked in TCS and 20 others
What are the differences between stored procedures and functions, and what are the benefits of using each?

AnswerBot
1y
Stored procedures are precompiled SQL queries stored in the database, while functions are user-defined routines that return a value.
Stored procedures can perform DML operations, while functions are us...read more
Anonymous
2y
Functions can use in stored procedure as a conditions, but we cant use procedure s in functions.
Functions can use as a retrieve query.
In procedure s we can write all crude operations...
Anonymous
2y
Store procedure returns value zero value but functions return one mandatory value and many more difference are there.
Add answer anonymously...
Interview Questions from Popular Companies

3.7
• 8.7k Interviews

4.0
• 5.4k Interviews

3.5
• 4.2k Interviews

3.6
• 8k Interviews

3.7
• 6k 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

