There are many advantages of using stored procedures in Microsoft SQL Server. These are :
- Easier to maintain and troubleshoot as they are modular.
- Stored procedures enable better tuning for performance.
- While using stored procedures is much easier from a GUI end than building complex queries.
- Stored procedures help in reducing network usage.
- Stored procedures provide more scalability to an application.
- Reusable and hence reduce code.
- Stored procedures can be part of a separate layer which allows separating the concerns. Hence Database layer can be handled by separate developers proficient in database queries.
Really nice useful article. Thank you.
ReplyDelete
ReplyDeleteThank you for posting such a useful, impressive.your blog is so beautiful. you have give me great news
web developer in Gurgaon
Stored procedure remove the risk of SQL Injection :)
ReplyDelete