June 12, 2010 at 11:24 am
Comments posted to this topic are about the item What, When, Where, How, Who2
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 14, 2010 at 1:25 am
Jason
Looks like you have done some good work.
However, I tried to run the stored procedure and got....
Msg 6841, Level 16, State 1, Procedure who4, Line 28
FOR XML could not serialize the data for node 'processing-instruction(definition)' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image data type and use the BINARY BASE64 directive.
I will try and debug if/when I get time, If any anyone else has a solution already then tell me!
June 14, 2010 at 4:13 am
Nice article, Jason.
I haven't tried your code yet, but looks very neat.
Well done.
-- Gianluca Sartori
June 14, 2010 at 6:35 am
Very nice. Code works fine on our SQL2008 (SP1) - 10.0.2531.0 server. Thanks!
June 14, 2010 at 7:55 am
Very well written, Jason! I appreciate the elimination of the DBCC INPUTBUFFER step after all of my sp_who2 steps.
June 14, 2010 at 8:08 am
Good article Jason!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 14, 2010 at 9:15 am
John Cuthbertson (6/14/2010)
JasonLooks like you have done some good work.
However, I tried to run the stored procedure and got....
Msg 6841, Level 16, State 1, Procedure who4, Line 28
FOR XML could not serialize the data for node 'processing-instruction(definition)' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image data type and use the BINARY BASE64 directive.
I will try and debug if/when I get time, If any anyone else has a solution already then tell me!
First - thanks.
Second, what version and patch level of SQL Server? I have not encountered this in my testing.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 14, 2010 at 9:16 am
Gianluca Sartori (6/14/2010)
Nice article, Jason.I haven't tried your code yet, but looks very neat.
Well done.
Thanks Gianluca
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 14, 2010 at 9:18 am
andycao (6/14/2010)
Very nice. Code works fine on our SQL2008 (SP1) - 10.0.2531.0 server. Thanks!
Thanks - and you're welcome.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 14, 2010 at 9:24 am
Seth-95001 (6/14/2010)
Very well written, Jason! I appreciate the elimination of the DBCC INPUTBUFFER step after all of my sp_who2 steps.
Thank you.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 14, 2010 at 9:25 am
WayneS (6/14/2010)
Good article Jason!
Thanks Wayne.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
June 14, 2010 at 11:11 am
June 14, 2010 at 11:16 am
Hey Jason,
Good Job there. I already have this version running in QA right now.
-Roy
June 14, 2010 at 12:20 pm
Nice article Jason! I haven't tested the code yet but can't wait to have a chance to do this. You did a really thorough job.
---------------------------------------------------------------------
Use Full Links:
KB Article from Microsoft on how to ask a question on a Forum
June 14, 2010 at 12:48 pm
bitbucket-25253 (6/14/2010)
JasonThanks for a job well done. Now to add this new tool to my tool box.
Thanks
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Viewing 15 posts - 1 through 15 (of 51 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy