home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!ukma!darwin.sura.net!sgiblab!sgigate!odin!kaos.corp.sgi.com!ogborn
- From: ogborn@kaos.corp.sgi.com (Geoffrey S. Ogborn)
- Subject: Re: How can I capture SQL going to Sybase?
- Message-ID: <1992Nov11.020347.25363@odin.corp.sgi.com>
- Sender: news@odin.corp.sgi.com (Net News)
- Nntp-Posting-Host: kaos.corp.sgi.com
- Reply-To: ogborn@corp.sgi.com
- Organization: Silicon Graphic Inc.
- References: <1992Nov10.190430.9668@glv.uucp>
- Distribution: usa
- Date: Wed, 11 Nov 1992 02:03:47 GMT
- Lines: 15
-
- In article <1992Nov10.190430.9668@glv.uucp>, bob@bobsled.glv.com (Bob Lunney) writes:
- |> Like the subject line says: How can I capture SQL going to Sybase? I am sure
- |> there is a dbcc traceon() argument for this. For instance, dbcc traceon(3604)
- |> sends dbcc output to the screen. dbcc capture_tds spid used to work for 4.0.1.
- |> What is it under 4.8?
- |>
- |> Bob Lunney bob@bobsled.glv.com NeXT mail preferred!
- |> Encompass 919-460-3274
-
- I know using APT as the front-end you can
-
- setenv RECFTOS filename
-
- and all the sql hitting the server will get written to the file with execution time.
- I do not know if this will work for other front-end.
-