Answer the question
In order to leave comments, you need to log in
What is the difference between View and stored procedure?
What advantages does View have that are not in stored procedure in mssql?
Answer the question
In order to leave comments, you need to log in
The View is supposed to return data. And procedure is not obliged to return them.
The only advantage of the view is that you can join with it. Otherwise, it has no advantages, but there are disadvantages, especially if a not very experienced developer starts joining with it.
I highly recommend using the procedures wherever possible. For a GUI developer, this is a black box, he knows the call parameters and return values, but what is inside is not. It's the same for the user.
It will be precompiled, any beauty can be made inside it... Storks are our everything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question