In SQL Server, how to move/import a multiple .trc files to a trace table
Posted
by frankadelic
on Stack Overflow
See other posts from Stack Overflow
or by frankadelic
Published on 2010-05-06T21:39:17Z
Indexed on
2010/05/06
21:48 UTC
Read the original article
Hit count: 259
I have a set of rollover .trc files recorded with Sql Profiler.
mytrace.trc
mytrace_1.trc
mytrace_2.trc
mytrace_3.trc
I can import the first one using this command:
use [my-database]
SELECT * INTO trace_folder
FROM::fn_trace_gettable('C:\mytrace.trc', 4)
However, this only appears to load the first file, not all four.
© Stack Overflow or respective owner