r/ProgrammerHumor • • Sep 22 '26

Meme wellWellWell

Post image
10k Upvotes

412 comments sorted by

View all comments

Show parent comment

40

u/teraflux Sep 22 '26

The highlighting feature made no sense to me, always felt like a disaster waiting to happen

25

u/hopefullyhelpfulplz Sep 22 '26

I love executing 9/10 of the code I wrote what do you mean

19

u/Quirky-Ad-6816 Sep 22 '26

it makes sense in a development tool, the issue is connecting a development tool to a production database with writing rights

11

u/ba-na-na- Sep 22 '26

Nah it makes no sense in no development tool either. Comment out the lines if you don’t need them, create a separate script, anything. Executing selection only in a language like SQL is just pure evil

7

u/VitreXx1678 Sep 22 '26

Well, it can be very useful, but you should know what you are doing and manual query execution should be disabled for most users in production anyway (this is the real problem here if you ask me).

In my last company we had to regularly change stored procedures and their dependencies on user defined table types (which means you have to drop the procedure, drop and create the type and recreate the procedure). Without the highlighting feature that would have taken even more time as you would have to copy stuff around instead of simply generating the drop and create scripts and executing parts of them in the correct sequence.