Use notepadd++ or your favorite text editor.
To elaborate on what black said here is a simple example:
Code:
UPDATE doors SET dest_zone = 'NONE' WHERE dest_zone = 'PoTranquility';
Then you just save to something you remember like Notranq.sql
In notepad save it as "all files" but in notepad++ you can set the file name to Notranq and on the save as type there is "Structured Query Language file (*.sql)" or just like notepad save it as Notranq.sql and save it as "All types (*.*)"
Make sense?