Jump to content


  • 0
krishnamoorthy

Overall Patch summary report

Question

Hi All,

 

I have created the report for over all patch summary based on the below query.

 

select summ.ID,summ.title,summ.QNumbers as 'Q Number',

COUNT(distinct ps.ResourceID) as 'Requested',

COUNT(distinct case when ps.LastState=107 or ps.laststate=102 or ps.laststate=105 then ps.ResourceID else NULL End) as 'Installed',

ROUND(100.0*COUNT(distinct case when ps.LastState=107 or ps.laststate=102 or ps.laststate=105 then ps.ResourceID else NULL End)

/count(distinct ps.ResourceID),2) as 'Success %'

from v_GS_PatchStatusEx ps

join v_ApplicableUpdatesSummaryEx summ on

ps.UpdateID=summ.UpdateID

where (summ.Type='Microsoft Update')

group by summ.ID,summ.QNumbers,summ.title

order by summ.ID

 

 

The out put is

Update ID Title Q Number Requested Installed Success %

SQL Server 2005 Books Online (February 2007) 35 1 2.86

MS10-019 Security Update for Windows Server 2008 R2 x64 Edition (KB978601) 978601 131 81 61.83

 

 

 

 

My query is How to given the link based on the Requested and Installed PCs.For ex : how to given the link 35 ,1, 131 & 81.Given the all 35 requested PC if I click the 35.

post-9077-0-47215600-1301381741_thumb.jpg

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.