Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
Where clauses should be syntactically required for delete or update statements. Throw an error without them. If you really want to hit every record in the table then throw a WHERE true in there just to be explicit.
Its such a common mistake i dont get why this isnt a thing.
Where clauses should be syntactically required for delete or update statements. Throw an error without them. If you really want to hit every record in the table then throw a WHERE true in there just to be explicit.
Its such a common mistake i dont get why this isnt a thing.
Good idea.
Easy enough to slap a where 1=1; on there if you want to burn the place down
deleted by creator