more unhinged HN energy disconnected from reality
Post
Remote status
Context
2more unhinged HN energy disconnected from reality
Replies
10@sun@shitposter.world @feld@friedcheese.us how often you're transitioning between DB vendors anyways?
(also, since writing them is litteraly part of my job, the best use cases I'd say are either small ones for ensuring nore complex consistency terms of the database, or large ones for bulk data transformation and saving.
I am very against using stored procedures unless you can can bring a strong case for why your usage doesn't get us swamped for life on one platform.
@sun@shitposter.world @feld@friedcheese.us ok, I understand it with oracle because of it's toxic licensing
But like, I've rewritten a whole bunch of stored procedures - e.g. from postgres to mssql and then back to postgres after some changes while it lived in mssql. Was fine.
And yes, if you put all of it in stored procedures, you're gonna have a bad time migrating (guess why oracle wants you to use them so much), but as I said, you should have either small ones for consistency, or large ones for large transformations/analytics. The first case is easy to rewrite because small, the second case is a pain either way because the alternative is just having all of the sql in some script or whatever and you're gonna have to rewrite it either way.
it's like they turned the database into an operating system
@feld@friedcheese.us @sun@shitposter.world ok thats bonkers and stupid
Both because it's on oracle, and because SQL is kinda ass for such code volume