fault
Posts: 40
Score: 2 Joined: 7/21/2008 Status: offline
|
Hey Garth :) Nice post - didn't know that ARP kept version information! Very useful! However I don't agree with your WQL examples (click "WQL (tomorrow)" at the bottom of your above link, or direct link here http://smsug.ca/blogs/garth_jones/archive/2007/05/10/303.aspx; I separated each part of your WQL for readability): select distinct SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID from SMS_G_System_ADD_REMOVE_PROGRAMS where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "Visio 12" I think you want to query the SMS_G_System_ADD_REMOVE_PROGRAMS.Version for the version information! E.g., for "Visio 12": select SMS_R_System.ResourceID, SMS_R_System.Name, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName, SMS_G_System_ADD_REMOVE_PROGRAMS.Version from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%VISIO%" and SMS_G_System_ADD_REMOVE_PROGRAMS.Version like "12%" Note: If anyone does happen to try and copy this WQL to get Visio 12 results, you'll need to do another sub select query to filter out "Microsoft Office Visio MUI (English) 2007" (or whatever other language you've installed?) in the DisplayName column as that seems to comes through for me with "Microsoft Office Visio Professional 2007" in my case (duplicate information!). But you shouldn't have to worry about this for your GL Inquiry Suite query nkobas!
< Message edited by fault -- 9/15/2008 5:40:45 PM >
|