Maystyle :
Admin : New post
Guestbook
Local
media
Catergories
Recent Articles
Recent Comments
Recent Trackbacks
Calendar
Tag
Archive
Link
Search
 
  DB를 이용한 트레이스 파일 분석 
작성일시 : 2010. 2. 23. 17:57 | 분류 : SQL Server/Development

트레이스 파일 밀어 넣기
SELECT * INTO traceProblem FROM ::fn_trace_gettable('D:\002. Desktop\20100223\final.trc', default)

이벤트랑 맵핑 해서 내용 보기
SELECT   TE.name, T.*
FROM    dbo.traceProblem T -- table that contains the trace results
            JOIN sys.trace_events TE ON T.EventClass = TE.trace_event_id

|