Where to get SQL Trace Tools?

Hi experts:
  I am looking for a application to trace my sql script just like MS SQL Server which supply SQL Trace Tools to help me debug my application.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you using ODBC or native access? What application development language/environment are you using? Is this for Adaptive Server (ie Sybase SQL Server) or SQL Anywhere?
mailpiggyAuthor Commented:
Hi david levine:
  I am using VC or Delphi to design my client applications,I want to find some tools to trace my sql script that my applications send to the database server and this tools is for SQL Anywhere.Does it exist?
  ODBC supply trace log,but I think it is too prolixity to look!

The SQL Anywhere has its own build in tracing option.

in case of SQL Any 5:

run the db server with switches "-Z -o <tracefile>" (the Z must be a capital)
If that was not enough, go to the db server console, menu File/Configure and check the 'Logging to Message Window' option. You will get trace of all SQL commands and more.

for AS Any 6:

the "-Z -o <tracefile>" works here too.
And you can run the db server console application (dbconsol.exe) and menus 'File/Log File Options' and 'File/Configure/Request-Level Logging'.

And if you are using OpenClient to connect to SQL Any/AS Any, you can use  some free tools from Sybase for tracing any TDS communication (= all comunication between Sybase OpenClient and Sybase DB server).

You can download it from http://www.sybase.com/products/internet/jdbcconnect/utilities/ .


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Sybase Database

From novice to tech pro — start learning today.