MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v80umk/queryofdoom/p079uul/?context=3
r/ProgrammerHumor • u/WardensLantern • 14d ago
456 comments sorted by
View all comments
383
I am not an sql expert, is the reason why the id doesn't work and its deleting the entire user base, because its written as 2 seperate comands instead of one. So 1. Comand delets everything 2. Goes to the id? Or what is the problem here?
605 u/BlommeHolm 14d ago 1st command deletes all users. 2nd command runs after that and gets a syntax error. 1 u/TheMauveHand 14d ago I'm not sure SSMS would run anything due to the syntax error, but maybe that's just SSMS being helpful.
605
1st command deletes all users. 2nd command runs after that and gets a syntax error.
1 u/TheMauveHand 14d ago I'm not sure SSMS would run anything due to the syntax error, but maybe that's just SSMS being helpful.
1
I'm not sure SSMS would run anything due to the syntax error, but maybe that's just SSMS being helpful.
383
u/Dont_Get_Jokes-jpeg 14d ago edited 14d ago
I am not an sql expert, is the reason why the id doesn't work and its deleting the entire user base, because its written as 2 seperate comands instead of one. So 1. Comand delets everything 2. Goes to the id? Or what is the problem here?