home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / sybase / 290 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.2 KB  |  30 lines

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