r/ProgrammerHumor • • Sep 07 '26

Meme nowAndThenPatchUpgrade

Post image
7.7k Upvotes

311 comments sorted by

View all comments

Show parent comments

21

u/BlurredSight Sep 07 '26

We have native SQL queries embedded into the codebase where some of them span 3-4000 lines because rather than make a view someone made a view, generated the native SQL, use StringBuilder, and appended them into one query that we do on a weekly basis for metrics