70-433 · Question #27
You have run a server side trace that created 45 trace files. You want to load the trace files on your workstation in a database table called PerfData for further analysis. ou need to load three…
The correct answer is B. SELECT * INTO PerfData. sys.fn_trace_gettable returns the content of one or more trace files in tabular form. fn_trace_gettable ( 'filename' , number_files ) Specifies the initial trace file to be read. filename is nvarchar(256), with no default. Specifies the number of rollover files to be read. This…
Question
You have run a server side trace that created 45 trace files. You want to load the trace files on your workstation in a database table called PerfData for further analysis. ou need to load three files starting at c:\my_trace_38.trc. Which Transact-SQL statement should you use?
Options
- ASELECT * INTO PerfData
- BSELECT * INTO PerfData
- CSELECT * INTO PerfData
- DSELECT * INTO PerfData
How the community answered
(22 responses)- A5% (1)
- B77% (17)
- C14% (3)
- D5% (1)
Explanation
sys.fn_trace_gettable returns the content of one or more trace files in tabular form. fn_trace_gettable ( 'filename' , number_files ) Specifies the initial trace file to be read. filename is nvarchar(256), with no default. Specifies the number of rollover files to be read. This number includes the initial file specified in number_files is an int. If number_files is specified as default, fn_trace_gettable reads all rollover files until it reaches the end of the trace.
Topics
Community Discussion
No community discussion yet for this question.