Re: using fn_trace_gettable on trace files where the path contains a space.
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 22:35:00 +0000 (UTC)
nadabadan (nadabadan@xxxxxxxxx) writes:
Is there a way to read a trace file with fn_trace_gettable if
that trace file resides in a path that contains a space? For example,
test.trc is accessible with fn_trace_gettable if it resides in c:
\traces\, but throws an error if the trace file is in c:\my traces\.
I tested this on SQL 2005 and Vista x64:
select * from fn_trace_gettable('C:\Temp\program files\flexkid''s\doublefeature.trc', default)
and it ran without a problem.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- Prev by Date: Re: what occurs in a comparison when a value is NULL
- Next by Date: Re: How to connect to sql server from dotnet
- Previous by thread: using fn_trace_gettable on trace files where the path contains a space.
- Next by thread: What privilege is needed to run DTSRUN ?
- Index(es):
Relevant Pages
|
Loading