472,133 Members | 1,079 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

using fn_trace_gettable on trace files where the path contains aspace.

Hi,
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\.
Thanks.

-Nada
Mar 19 '08 #1
1 4460
nadabadan (na*******@gmail.com) 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, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Mar 19 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Raquel | last post: by
3 posts views Thread by Random Person | last post: by
1 post views Thread by Daveyk0 | last post: by
5 posts views Thread by AliR | last post: by
5 posts views Thread by David Lozzi | last post: by
5 posts views Thread by Michael Sperlle | last post: by
5 posts views Thread by JimmyKoolPantz | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.