Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are differences between function and stored procedure in .Net programming language?
Home
Dot Net
What are differences between function and stored procedure in .Net programming language?
0
votes
asked
Sep 19, 2023
in
Dot Net
by
Robin
What are differences between function and stored procedure in .Net programming language?
storedprocedure
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 19, 2023
by
Robin
The difference between function and stored procedure:
Function returns only one value but procedure can return one or more than one value.
Function can be used in select statements but procedure cannot be used.
Function has only input parameters while Procedure can have an input and output parameters.
Exceptions can be handled by try catch block in procedures but that is not possible in function.
...