I just tested and verified that you don't have to connect to the database the SQL was written against in order to read it, you just have to connect to any database. As long as you don't click on OK when you're finished viewing the SQL, you can get to it.
-Dell
A computer only does what you actually told it to do - not what you thought you told it to do.