Open a Query

You can work with queries you saved to a *.qry file in a previous session, or you can optionally use a *.sql, or Microsoft SQL Server Query file.

To open a query

  1. On the ribbon, click the Tools tab.
  2. Click Query Tool.
    The Query Tool opens.
  3. Click the Open Query ODBC_Open Query Button icon on the toolbar.

    The Open dialog opens.

  4. Select a *.qry or *.sql file and click open.

    The query text opens the Query box and is ready for execution.

Note: Before you can execute a query you must be connected to erwin ODBC or to a database.

More information:

Execute a Query Against erwin ODBC

Execute a Query Against a Database

Restrict Row Count in Query Results