dbTalk Databases Forums  

remove loginname column from existing trace file?

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss remove loginname column from existing trace file? in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM







"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #12  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM







"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #13  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #14  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #15  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #16  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #17  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #18  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
  #19  
Old   
geekyguy
 
Posts: n/a

Default Re: remove loginname column from existing trace file? - 09-02-2008 , 03:07 PM




"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
I don't use the tuning advisor much so I can't say if what you are asking
will work or not. But you can load the trace into profiler and then
deselect any column you wish (well mostly) and save that to a trace file
which will then not include those columns.
Thanks Andrew, that worked.


Quote:
"geekyguy" <geeky (AT) guy (DOT) com> wrote in message
news:13415138-F67D-44EA-8965-87FD5C22B976 (AT) microsoft (DOT) com...
Hi All:

I created a trace file, and when I ran tuning advisor many of the queries
of interest couldn't be optimized because the user didn't have "showplan"
privileges.

Is it possible to remove the login name column to "force" tuning advisor
to run the trace under the connected user (currently with dbo
privileges)? If anyone could provide a step-by-step I would greatly
appreciate it.

If it's possible to do this through the profiler or tuning advisor GUIs
even better <g>.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.