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.
Use the SQL Anywhere 12 plug-in to connect to the database.
Choose View » Server Messages And Executed SQL.
In the Server Messages And Executed SQL pane, click the tab with the database icon.
Right-click and choose Options.
Edit the logging options.
Connect to a database.
In the left pane, right-click the database and choose Start Logging Database Changes.
Specify a file name and click Save.
In the left pane, right-click the database and choose Stop Logging Database Changes.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|