Hey all,
I was wondering what useful reports you have created in SMS 2003. I'm constantly trying to find another use for this system (to justify the cost). Here is one I wrote that will pull a computer name, computer model, user logged in, operating system, and asset tag number,
select * from v_inventory_view
Where v_inventory_view is,
CREATE VIEW dbo.[Inventory View]
AS
SELECT TOP 100 PERCENT dbo.Computer_System_DATA.Name0 AS [Computer Name], dbo.Computer_System_DATA.Model0 AS Model, dbo.Computer_System_DATA.UserName0 AS [User Logged In], db
perating_System_DATA.Caption0 AS [Operating System],dbo.System_Enclosure_DATA.SerialNumber00 AS [Asset Tag #]
FROM dbo.Computer_System_DATA INNER JOIN db
perating_System_DATA ON dbo.Computer_System_DATA.MachineID = db
perating_System_DATA.MachineID INNER JOIN dbo.System_Enclosure_DATA ON db
perating_System_DATA.MachineID = dbo.System_Enclosure_DATA.MachineID
ORDER BY dbo.Computer_System_DATA.Name0
I'm no SQL expert, so I'm sure there is a better way to get this information. Anyway, does anyone have any SQL statements they would like to share?
Thanks,
Mick
I was wondering what useful reports you have created in SMS 2003. I'm constantly trying to find another use for this system (to justify the cost). Here is one I wrote that will pull a computer name, computer model, user logged in, operating system, and asset tag number,
select * from v_inventory_view
Where v_inventory_view is,
CREATE VIEW dbo.[Inventory View]
AS
SELECT TOP 100 PERCENT dbo.Computer_System_DATA.Name0 AS [Computer Name], dbo.Computer_System_DATA.Model0 AS Model, dbo.Computer_System_DATA.UserName0 AS [User Logged In], db
FROM dbo.Computer_System_DATA INNER JOIN db
ORDER BY dbo.Computer_System_DATA.Name0
I'm no SQL expert, so I'm sure there is a better way to get this information. Anyway, does anyone have any SQL statements they would like to share?
Thanks,
Mick