sql - How to track which tables the database wrote data to? -


i use "lexware warenwirtschaft premium 2014" (a well-known merchandise management software in germany). uses sybase database. connect database using odbc connection(sql anywhere driver). database has 800+ tables. example when lexware creates new article, writes data different tables.

is there way track tables lexware wrote data?

as ad-hoc measure switch on odbc tracing, , review contents.

http://support.microsoft.com/kb/274551 tells how windows client, , can find similar information linux/unix , other clients.

you'd have parse trace file see queries inserted into. first step isolate sqlprepare , sqlexecdirect statements, , check them insert, update , other relevant sybase statements.

note not you'd want ongoing solution, way find out odbc client if not have access e.g. logging information on database itself. however, trace slows down execution , generate large trace file if left running significant period.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -