Table name in trc files? [message #321335] |
Mon, 19 May 2008 22:46 |
natelpeterson
Messages: 6 Registered: May 2008 Location: San Fran
|
Junior Member |
|
|
I am trying to figure out how to see the actual query i wrote in a trace file...i did the following:
alter system set sql_trace=true;
(system altered)
i ran the following in sqlDeveloper:
select * from SimpleTable;
Should I be able to see this query in a trace file somewhere? (or how else do i identify a query, especially one from a session created through OLEDB?)
Thanks,
Nathan
|
|
|
|
Re: Table name in trc files? [message #321342 is a reply to message #321336] |
Tue, 20 May 2008 00:06 |
natelpeterson
Messages: 6 Registered: May 2008 Location: San Fran
|
Junior Member |
|
|
Thanks for the info.
So if I do a system-wide trace (perhaps with 10046) and run an Analysis Services query against Oracle, there should exist a file in the dump dir that can only be read (the table name) with tkprof?
|
|
|
|
|
Re: Table name in trc files? [message #321674 is a reply to message #321668] |
Wed, 21 May 2008 00:37 |
natelpeterson
Messages: 6 Registered: May 2008 Location: San Fran
|
Junior Member |
|
|
Thanks everyone. It turns out my problem was i was trying to use "search" in Windows explorer to find "SimpleTable" text within a file in the dump directory, and it couldn't find it...but when i looked through the files manually, i could find the text! Messed up, huh? Anyway I found what i was looking for, thanks everyone.
|
|
|