How to query for Windows XP SP3

I am having more trouble than I should with this. Can anyone tell me what I am doing wrong with this query? I am trying to look for all computers with XP SP3 installed.  I am a beginner with making queries...
select SMS_G_System_OPERATING_SYSTEM.CSDVersion, SMS_G_System_OPERATING_SYSTEM.Caption from  SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.CSDVersion is like "%Service Pack 3%"

Open in new window

LVL 9
L3370Asked:
Who is Participating?
 
L3370Connect With a Mentor Author Commented:
Resolved on my own.
0
 
L3370Author Commented:
err here is the part i'm working with:
select SMS_G_System_OPERATING_SYSTEM.Caption, SMS_G_System_OPERATING_SYSTEM.CSDVersion from  SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Caption like "%Microsoft Windows XP%" and SMS_G_System_OPERATING_SYSTEM.CSDVersion like "%Service Pack 3%"

Open in new window

0
 
flubbsterCommented:
Not sure if this is what you are looking for... here are several examples:

http://www.msfn.org/board/lofiversion/index.php/t122447.html
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
L3370Author Commented:
looking for an SMS query
0
 
ISDNOCommented:
Could you post your solution?
0
 
L3370Author Commented:
The collection I was using to query for SP3 systems didnt contain any computers to return results. bonehead error.
0
 
L3370Author Commented:
The collection I was using to query for SP3 systems didnt contain any computers to return results. bonehead error.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.