In this part I will walk you through the creation of a report in SQL Server Managmenet Studio. The report will show all clients with SMS 2003 Toolkit installed.

clip_image002 Open SQL Server Management Studio and log on to the server.
clip_image002[4] Navigate to the Configuration Manager database. The name is most likely SMS_<Sitecode>.
clip_image002[6] Right click Views and select New View
clip_image002[8] Select the Views tab.
clip_image002[10] Add V_R_System and V_GS_Add_Remove_Programs

Note: V_R_System contains the basic discovery data.

clip_image002[12] Now when we have the views we must create an Inner Join.From V_R_System drag the column RessourceID onto the RessourceID column onto the V_GS_Add_Remove_Programs view
clip_image002[14] Select Netbios_Name() from V_R_System and DisplayName() from V_GS_Add_Remove_Programs.
clip_image002[16] In the Criteria pane type SMS 2003 Toolkit and press enter in the Filter cell for the DisplayName() column.Notice that SQL automatically will replace the text with =’SMS 2003 Toolkit’ – Nice 🙂
clip_image002[18] Let’s view the result before we copy the statement to Configuration Manager.Make sure that the SQL and Results panes are visible. If not right click, select Pane and enable them.
clip_image002[20] If everything looks OK; copy the entire SQL statement.
clip_image002[22] Open the Configuration Manager console and navigate to Reporting. Click New in the Actions pane.
clip_image002[24] In name type: All Computers with SMS 2003 Toolkit installedIn Category type: <Company name> SoftwareIn comment type the date, your name and a short description of the content.
clip_image002[26] Click Edit SQL Statement. Highlight the default SQL statement, right click and Paste your SQL statement into the Window.
clip_image002[28] Click OK.
clip_image002[30] Click Next.
clip_image002[32] Click Next.
clip_image002[34] Click Next.
clip_image002[36] Click Next.
clip_image002[38] Click Close.
clip_image002[40] Click Close – Congratulations you survived the wizard 🙂
clip_image002[42] Highlight your report and click Run in the Actions pane.
clip_image002[44] You have now created your first report – it’s time to go impress management 🙂

In the 3 part we will take a closer look at some of the conditionals and aggregate functions.