Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Database Administration » Starting and Connecting to Your Database » Running the database server » Starting the database server » Logging database server actions


Logging SQL statements in Sybase Central

As you work with a database in Sybase Central, the application automatically generates SQL statements depending on your actions. You can keep track of these statements in a separate pane, called Server Messages And Executed SQL, or save the information to a file. The Server Messages And Executed SQL pane has a tab for each database and database server. The tab for database servers contains the same information as the database server messages window.

When you work with Interactive SQL, you can also log statements that you execute. See Logging commands.

♦  To log SQL statements generated by Sybase Central
  1. Choose View » Server Messages And Executed SQL.

  2. In the Server Messages And Executed SQL pane, click the tab with the database icon.

  3. Right-click and choose Options.

  4. Edit the logging options.

  5. Click Save.

  6. Choose a location to save the file and click OK.

  7. Click OK.