|
|
|
|
|
by grossvogel
2054 days ago
|
|
I always do destructive SQL commands in two steps: first run a select using the WHERE clause you intend to use and verify which records will be affected, then hit the up arrow and edit the beginning of the query leaving the WHERE intact. I also like adding redundant conditions to the WHERE so a typo in any single one of them won't sink me. |
|
Finally, change ROLLBACK to COMMIT only when you are positive all is well.