on 2010 Apr 20 11:11 AM
From: massimomm
Newsgroups: sybase.public.sqlanywhere.general
Subject: SQL Logging SQL Statement
Date: 20 Apr 2010 02:38:38 -0700
I use ASA 7 so I'd like to know if there is a way to logging the sql instruction that database server dbsrv7, receive from clients?
I need this because a client that use odbc connection after performing an insert into a table, the client receive the Message: "SQL truncate". I need to know the field on the table that generate this warning!!
Thanks in advance Massimo
Request clarification before answering.
The tool that does this is called "request-level logging" and in V7 you have to enable it from the command line when you start the server, using the -zr (and optionally -zo) command line switch.
You can also enable ODBC tracing at the client in order to track down this type of problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.