2 ms·
I have some horror stories I could share with you... I've rewritten more than one application where the entirety of the application was originally written in SQ
by icey 17y ago
I have some horror stories I could share with you... I've rewritten more than one application where the entirety of the application was originally written in SQL (HTML presentation included) and then just emitted when the SQL was called.
I'd also argue that SQL isn't as much a DSL as I think you suggest, it's the de facto choice when programming on the data layer for any RDBMS (sure, the implementations may vary slightly, but if you're writing SQL that's often your only choice for a language at the DB level).
- jacquesm 17y agoOuch. Ok, I'll take that evidence, SQL goes in. It will show at the bottom though, I can't insert it in the right spot. I feel your pain btw. That must be quite the mess.
- tom_b 17y agoUgh. That's as bad as some of the programs I've re-written to leverage SQL. Way too many resultset/for loop combos that took hours to run in Java or C# that turned into seconds with a little set-based thinking.