I have sucessfully created an SCCM report using Report Builder. It is a report of all computers with Winamp installed. It looks like this:-
What I would like to do is add a collection parameter so that I can sort computers with Winamp installed by device collections. I tried to follow this link (https://prajwaldesai.com/how-to-add-collection-parameter-in-sccm-report/), but I encountered a SQL pop-up error when I add the two lines to the dataset properties.
Below is the SQL query that I used to get the report.
select all SMS_R_System.Name0,__System_ADD_REMOVE_PROGRAMS0.DisplayName00,__System_ADD_REMOVE_PROGRAMS0.Publisher00,__System_ADD_REMOVE_PROGRAMS0.Version00 from vSMS_R_System AS SMS_R_System INNER JOIN Add_Remove_Programs_DATA AS __System_ADD_REMOVE_PROGRAMS0 ON __System_ADD_REMOVE_PROGRAMS0.MachineID = SMS_R_System.ItemKey INNER JOIN _RES_COLL_SMSDM003 AS SMS_CM_RES_COLL_SMSDM003 ON SMS_CM_RES_COLL_SMSDM003.MachineID = SMS_R_System.ItemKey where __System_ADD_REMOVE_PROGRAMS0.DisplayName00 = N'Winamp'
I admit that I am a not proficient with SQL. Can somebody help in figuring out what is it that I am missing?
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.
Hi all.
I have sucessfully created an SCCM report using Report Builder. It is a report of all computers with Winamp installed. It looks like this:-
What I would like to do is add a collection parameter so that I can sort computers with Winamp installed by device collections. I tried to follow this link (https://prajwaldesai.com/how-to-add-collection-parameter-in-sccm-report/), but I encountered a SQL pop-up error when I add the two lines to the dataset properties.
(Lines added)
(SQL Pop-Up)
Below is the SQL query that I used to get the report.
select all SMS_R_System.Name0,__System_ADD_REMOVE_PROGRAMS0.DisplayName00,__System_ADD_REMOVE_PROGRAMS0.Publisher00,__System_ADD_REMOVE_PROGRAMS0.Version00 from vSMS_R_System AS SMS_R_System INNER JOIN Add_Remove_Programs_DATA AS __System_ADD_REMOVE_PROGRAMS0 ON __System_ADD_REMOVE_PROGRAMS0.MachineID = SMS_R_System.ItemKey INNER JOIN _RES_COLL_SMSDM003 AS SMS_CM_RES_COLL_SMSDM003 ON SMS_CM_RES_COLL_SMSDM003.MachineID = SMS_R_System.ItemKey where __System_ADD_REMOVE_PROGRAMS0.DisplayName00 = N'Winamp'
I admit that I am a not proficient with SQL. Can somebody help in figuring out what is it that I am missing?
I am using SCCM 1610 with SCCM SQL 2014.
Any help is greatly appreciated.
Thanks.
Share this post
Link to post
Share on other sites