Logging database changes

You can log to a .sql file all SQL statements executed by the SQL Anywhere plug-in that modify the database. See Log SQL statements in Sybase Central.