0

Is there a way to trace/log sql from the code (not from the db side, but rather what the code thinks it's doing)?

I am using Pro*C/C++: Release 8.1.7.0.0 for Oracle

Philip Kelley
  • 39,426
  • 11
  • 57
  • 92
LK__
  • 6,515
  • 5
  • 34
  • 53

1 Answers1

1

"the code thinks it's doing" Code doesn't think. If it did, I wonder if we would have more or fewer problems :)

But you could look into SQLNet trace at the SUPPORT level if you are interested in what statements the client is sending to the server (and responses back) rather than the statements executed by the server (ie omitting SQL executed by a procedure on the server rather than directly issued by the client).

Gary Myers
  • 34,963
  • 3
  • 49
  • 74
  • My code thinks - based on what I tell it to do, though sometimes it seems to misunderstands me... – LK__ Sep 14 '09 at 08:44