Select the database in the Connections view, and then click New SQL
Editor
from the Connections view
tool bar. Note: If you create a new file in the SQL Editor, the script will
not automatically be saved when you exit the editor. For new files, you
will not be prompted to save the script when you exit the editor.You can
save new scripts by choosing either before you exit the editor or Save
from the context menu in the SQL Editor.