I have a query built to find a particular software installed. It takes FOREVER to run and spits back way too much. Below is my query. I barely understand these things and I must be doing something wrong here. I only need a few coulumns. I guess it will work for my end goal which will be a collection based on this query. It just seems a little verbose. It's basically giving me back every attribute. All I really want is:
System Resources.Active Directory Site Name
System Resource.Name
System Resource.Last Logon User Name
System Resource.Machine Assigned to User
Installed Software.Product Name
Installed Software.Product Version
Installed Software.Publishers
Also, is there really no way to deselect multiple columns after the results are displayed or is one at a time the only way?
Any help would be much appreciated.
select * from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName = "Cabinet"
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.
I have a query built to find a particular software installed. It takes FOREVER to run and spits back way too much. Below is my query. I barely understand these things and I must be doing something wrong here. I only need a few coulumns. I guess it will work for my end goal which will be a collection based on this query. It just seems a little verbose. It's basically giving me back every attribute. All I really want is:
System Resources.Active Directory Site Name
System Resource.Name
System Resource.Last Logon User Name
System Resource.Machine Assigned to User
Installed Software.Product Name
Installed Software.Product Version
Installed Software.Publishers
Also, is there really no way to deselect multiple columns after the results are displayed or is one at a time the only way?
Any help would be much appreciated.
select * from SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName = "Cabinet"
Share this post
Link to post
Share on other sites