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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
L3370Author Commented:
looking for an SMS query
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

L3370Author Commented:
Resolved on my own.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.