Use the Query Backup and Restore tool to back up and restore SMS queries. This tool will only back up user-defined queries, not SMS 2.0 default queries. When you restore queries, the queries you restore are added as new queries to the SMS Administrator console. You can also use this tool to export a query from one site and import it to another site.
Processors: i386, Alpha
Operating systems: Windows NT 4.0
QryEdit.exe
qryedit [/export file | /import file]
When restoring a query to a site or importing it to another site, be sure to use the exact query output from this tool. Do not strip any data. If you want to modify the query, first restore or import the query and then use the SMS Administrator console to modify the query.