News for hackers. Stuff that matters.
Re:Heroku Fucking Console by schrodinger on Friday March 01, 2013 @01:33PM (#5306017)
If you're in a GUI where you can run only the highlighted code, I do this:

    select * -- delete
    from sometable
    where id = 1
Then you can run the whole thing to see what would be deleted, and highlight starting at the word delete to actually delete.
Re:Heroku Fucking Console by methurston on Friday March 01, 2013 @02:57PM (#5306587)
I do this too, If I'm saving the file for reuse, I wrap the entire thing in /* */ when I'm done just in case I accidentally hit run script instead of run statement.