Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
anilinsqlteam
Starting Member
9 Posts |
Posted - 2006-11-20 : 04:03:03
|
Dear All,I use "sp_trace_create" to create a trace in the file "C:\TestTrace".Then used "sp_trace_setevent" to Set the events and data to collect.And then by usingEXEC sp_trace_setstatus @TraceID, 1I started the trace. Now I want to get the values in tht trace file and for that I am using the querrySELECT * FROM ::fn_trace_gettable('C:\TestTrace.trc', 0).Now the problem after some events occure for which I have set the trace I am not able to get the querry run. It says the file is in use or not in correct format...And I saw the file size is also 0. But after I end the trace by usingEXEC sp_trace_setstatus @TraceID, 0EXEC sp_trace_setstatus @TraceID, 2then only I was able to run the above querry. So I want to know is it possRegardsAnilRegardsAnil |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2006-11-20 : 04:05:12
|
Please don't crosspost:Duplicate post here: [url]http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=75186[/url]Harsh AthalyeIndia."Nothing is Impossible" |
|
|
anilinsqlteam
Starting Member
9 Posts |
Posted - 2006-11-20 : 04:59:26
|
Sorry for thatDeleted the duplicate topicRegardsAnil |
|
|
|
|
|