JoeG
Posts: 2
Score: 0 Joined: 11/7/2008 Status: offline
|
I am running a query to to get the info from the machine... The 1st query will display results for a 150+ machines with the data collected. The 2nd query only gives me 60+. Can anyone tell me why? 1st Query:
select NetbiosName, IPAddresses, LastLogonUserName from SMS_R_System where IPAddresses like ##PRM:SMS_R_System.IPAddresses## order by NetbiosName, IPAddresses
2nd Query:
select SMS_R_System.NetbiosName, SMS_R_System.IPAddresses, SMS_R_System.LastLogonUserName, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_G_System_COMPUTER_SYSTEM.Name, SMS_G_System_PC_BIOS.SerialNumber from SMS_R_System inner join SMS_G_System_PC_BIOS on SMS_G_System_PC_BIOS.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_R_System.IPAddresses like ##PRM:SMS_R_System.IPAddresses## order by SMS_R_System.NetbiosName, SMS_R_System.IPAddresses, SMS_G_System_COMPUTER_SYSTEM.Manufacturer
All of the information is going off of the value of an IP ADDRESS INPUT value.
|