When should I use stored procedures?

前端 未结 19 2546
眼角桃花
眼角桃花 2020-12-04 10:53

When should I be using stored procedures instead of just writing the logic directly in my application? I\'d like to reap the benefits of stored procedures, but I\'d also lik

19条回答
  •  悲&欢浪女
    2020-12-04 11:40

    I tend to always use stored procedures. Personally, I find it makes everything easier to maintain. Then there is the security and performance considerations.

    Just make sure you write clean, well laid out and well documented stored procedures.

提交回复
热议问题