Creating a Query File Using the Query Editor

You can create a query (.qry) file to add an SQL statement operation in the Database Service Editor. A query file contains a SQL statement that you create manually, or through the SQL Dialog. To create a query file:

  1. From the main workbench menu bar, select File|New|Other.

    The Select a wizard dialog appears.

  2. Select Sybase|Query, and click Next.The Create Query File dialog appears.

  3. In the Create Query File dialog, specify:

    • A name for the query.

    • An available database connection profile in the Profile list.

  4. Advanced button.

  5. Click Finish to create the query.

    A list of database tables appears in the SQL Query Editor.

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com