i.e, can we just use stored procedures for everything? In a web-site backed by a DB that is.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Stored Procedures have their benefits:
ORDER BYwill always trump application code)Stored Procedure Cons:
Conclusion
Yes, stored procedures & functions can do most of what you’d probably ever want to do with data. The decision to use them is determined by design choices – to be database agnostic, most would not use stored procedures. Choose what best suits the requirements, not your preference.