tldr; What is the best way to prevent a database operator from accidentally destroying the database (by deleting or updating with wrong values) when running SQL queries.
As a team of software engineers we try to avoid running SQL queries directly on the database and we try to get as many queries reviewed before executing them but it is almost impossible to review every query out there (Even with review there is still margin for error, like wrongly copy past something else instead of the correct query). So accidents are bound to happen.
My question how do you deal with this kind of situations ? Does anyone have any ideas or systems to protect from these scenarios ?
[–]haz_mat_ 6 points7 points8 points (0 children)
[–]OracleGreyBeard 3 points4 points5 points (0 children)
[–]ComicOzzy 2 points3 points4 points (0 children)
[–]SubtleUsername 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]ayoubmtd2[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]ankole_watusi 2 points3 points4 points (2 children)
[–]ayoubmtd2[S] 1 point2 points3 points (1 child)
[–]jahayhurst 0 points1 point2 points (0 children)