Microsoft
Software
Hardware
Network
Question : How to tranlate SQL query to WQL query for SCCM 2007
I have the following SQL query that I can run successfully against the SCCM 2007 SQL database in SQL Management Studio and it returns the IP addresses in between the > and < symbols:
select * from dbo.v_RA_System_IPAddresse
s where IP_Addresses0 > '10.0.1.51' and IP_Addresses0 < '10.0.1.99'
However, I need to run this using WQL in SCCM 2007 in order to identify the machines there. Does anyone know how to translate this SQL query into WQL for SCCM 2007 queries?
Answer : How to tranlate SQL query to WQL query for SCCM 2007
select SMS_R_SYSTEM.ResourceID,SM
S_R_SYSTEM
.ResourceT
ype,SMS_R_
SYSTEM.Nam
e,SMS_R_SY
STEM.SMSUn
iqueIdenti
fier from SMS_R_System where SMS_R_System.IPAddresses like "10.0.1.[5-9][0-9]%"
Random Solutions
Where is the db connection info located?
Subnets
delete cookies and refresh browser
Submitting fields from online (in browser) or offline (in Acrobat Reader) .pdf form to server for processing
PHP: Combine many elseif for parsing search term
SQL Authentication login fails
how i make the local (divelop) iis work in the same spid like remote iss
Running a script, pausing it and running again for sending oout large email lists
Locating next index of a record set and moving to that record after form data is refreshed.
Member Function Binding : Static Functions