You can reuse a query that you previously saved in Query Design Center. This action eliminates the need for you to retype the query or recall syntax of an intricate SQL statement.
Perform the following steps to open a query:
-
From the Analyze Query window, right-click and click Open Query.
The Open dialog box appears.
-
Navigate to the folder containing the .sql file (for example, myquery.sql) of the query you want to open, and select the file.
The file name appears in the File name box.
-
Click Open.
The Open dialog box is closed and the query appears in the text pane of the Analyze Query window.

