You can export SQL queries for use in other applications.
-
In the Reference Explorer, navigate to the SQL Editor folder
-
In the SQL Editor folder, locate the SQL query you want to export.
-
Right-click the file, and select Actions > Export to SQL.
-
In the Save As dialog box, if required change the file name.
-
Navigate to the folder where you want to save the file, and select Save.