DEV Community

Discussion on: I've been a developer for 20 years and just started writing a blog, Ask Me Anything!

Collapse
 
canro91 profile image
Cesar Aguirre

What's your take on dabatase-side logic in the form of store procedures? I've seen projects relying on SP to do almost all business logic, and they end up with really huge and unmaintainable SPs.

Collapse
 
peledzohar profile image
Zohar Peled

I would say that some things are better handled in code, but some are better handled in stored procedures. Any data integrity issue, for instance