Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Profiler

Status
Not open for further replies.

Carney123

Programmer
Apr 11, 2008
15
US
Is there Equivalent tool in Sybase which does the SQL Server 2000 SQL Profiler does?
 
What do you want to achieve? There is montables and auditing.
 
I want to capture the queries and stored procedures when application is running. In SQL I can run the profile and capture the queries. Same way I want to do it in Sybase.
 
For Sybase ASE
if mon tables are installed
select * from monProcessSQLText
select * from monSysSQLText

or
You can enable auditing to capture sql text
See the admin guide regarding auditing

or similar to dbcc inputbuffer on ms sql:
dbcc traceon (3604)
dbcc sqltext(<spid>)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top