简体   繁体   中英

How to: log operations (sql) on one or more Sybase tables?

We have a hard to track-down bug in one of our systems, ie it appears very seldom and randomly so we figure good logging over an extensive time period would be helpful.

Therefore I would like to ask if it's possible in any way to let Sybase (12.5.X or 15.X) log the SQL operations that updates the contents of a specific table, ie inserts and updates. Note, it will do with just the data but preferably I would like to log the complete SQL-statement thus a simple trigger approach won't cut it.

Regaqrds, Ola

我认为像monProcessSQLText这样的触发器+ Sybase MDA监视表可以为您提供帮助。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM