申し訳ありませんが、私はすぐに返信できませんでした.私は家族の問題でとても忙しかったです. とにかく、私は SQL レポートに反対することに決め、代わりに、私が探していた結果を提供しているように見える WMI クエリを使用しました。なぜなら、SQL レポートは、特定のソフトウェアがインストールされていて、使用したくないシステムをターゲットにするためだけだったからです。それは一時的な使用のためだけであるため、そのための私のSQLレポート。そのため、WMI クエリを使用しました。使用した WMI クエリ コードは次のとおりです。
select distinct SMS_R_System.Name, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName, SMS_G_System_ADD_REMOVE_PROGRAMS.Version, SMS_G_System_X86_PC_MEMORY.TotalPhysicalMemory, SMS_G_System_LOGICAL_DISK.Size, SMS_G_System_IDE_CONTROLLER.Description, SMS_G_System_PROCESSOR.Name, SMS_G_System_PROCESSOR.MaxClockSpeed, SMS_G_System_PROCESSOR.AddressWidth, SMS_G_System_MOTHERBOARD_DEVICE.PrimaryBusType, SMS_G_System_VIDEO_CONTROLLER.VideoProcessor, SMS_G_System_VIDEO_CONTROLLER.AdapterRAM, SMS_G_System_OPERATING_SYSTEM.Caption, SMS_G_System_OPERATING_SYSTEM.CSDVersion from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_X86_PC_MEMORY on SMS_G_System_X86_PC_MEMORY.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_PROCESSOR on SMS_G_System_PROCESSOR.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_VIDEO_CONTROLLER on SMS_G_System_VIDEO_CONTROLLER.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_MOTHERBOARD_DEVICE on SMS_G_System_MOTHERBOARD_DEVICE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_IDE_CONTROLLER on SMS_G_System_IDE_CONTROLLER.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_LOGICAL_DISK on SMS_G_System_LOGICAL_DISK.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "Varian Aria Radiation Oncology Client" order by SMS_R_System.Name