MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SQL/comments/dpwvg9/stuff_of_nightmares/f5zdbjg/?context=3
r/SQL • u/GeneralReposti_Bot • Nov 01 '19
22 comments sorted by
View all comments
16
dont cowboy shit in production
6 u/got-trunks Nov 01 '19 delete from * where .... 13 u/mac-0 Nov 01 '19 edited Nov 01 '19 delete from table --where 1=2 3 u/famousxrobot Nov 01 '19 I once did this because I had a line break between my delete from and where... something was wrong with my where line, but SSMS was like “it’s all good up to this line, so let’s go!”
6
delete from * where ....
13 u/mac-0 Nov 01 '19 edited Nov 01 '19 delete from table --where 1=2 3 u/famousxrobot Nov 01 '19 I once did this because I had a line break between my delete from and where... something was wrong with my where line, but SSMS was like “it’s all good up to this line, so let’s go!”
13
delete from table --where 1=2
3 u/famousxrobot Nov 01 '19 I once did this because I had a line break between my delete from and where... something was wrong with my where line, but SSMS was like “it’s all good up to this line, so let’s go!”
3
I once did this because I had a line break between my delete from and where... something was wrong with my where line, but SSMS was like “it’s all good up to this line, so let’s go!”
16
u/[deleted] Nov 01 '19
dont cowboy shit in production