Executing a SQL Statement

Execute a SQL statement from an editor.

Prerequisites 

Be sure the data server for which you are executing a SQL statement is running, and you created and established a connection to the data server. Open the SQL file or procedural object in the appropriate editor.

  1. Highlight the SQL statement or statements you want to execute.

    For procedural objects, open the editor's Source page.

  2. Execute one, multiple, or all SQL statements.
    To Do this
    Execute one or more SQL statements HIghtlight the statements and select Execute Selected Text.
    Execute all statements Select Execute All.

    Execution status and and results appear in the SQL Results view.

Related concepts
SQL Scrapbook

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com