Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yes, you can hack something together that keeps them in source control, and then some automations to run them in a CD way. But now your business logic change is half in application code, and half in sprocs, and you have a versioning and deployment coordination problem. Which you can work around too. But why? making deployments and debugging of buis logic hard for what end? Just keep all the business logic in your app code, then its deployed and tested as one artifact, and everyones happier.

Also i hope you're not suggesting anyone pick up oracle for a new project these days :)



What do you mean hack to keep them in source control? They're just sql source code files, like any other source code you can simply commit to version control?

Wouldn't advise anyone to use Oracle, but neither would i advise them to use sql-server. Usually Postgres is good enough, although oracle plsql is still nicer than postgres plsql (e.g, packages).


i feel like i addressed this in a different subthread https://news.ycombinator.com/reply?id=40526231&goto=threads%...

> You can source control them, but then you have a deployment coordination problem. Often changes to business logic will be half in application code and half in the sproc, and you have to coordinate the deployment of that change. You have to somehow reason about what version of the sprocs are on your server. Add on that usually in enviroments that use sprocs, changes to them are gatekept by DBAs. Just write your business logic in application code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: