jnelson993
Posts: 900
Score: 127 Joined: 2/18/2005 From: Minneapolis, MN Status: offline
|
Sorry, I wasn't looking from the website so I wasn't seeing the edit's you've made to your posts. Now that I've refreshed the page I see what you're asking for. If you want to look for wildcards like _ inside of your WHERE clause like this, you'll need to use the bracket [] operator to specify a set of characters to look for. In this case you want to match a single underscore character [_]. So, your query should look something like this: SELECT SMS_R_SYSTEM.ResourceID, SMS_R_SYSTEM.ResourceType, SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier, SMS_R_SYSTEM.ResourceDomainORWorkgroup, SMS_R_SYSTEM.Client FROM SMS_R_System INNER JOIN SMS_G_System_ADD_REMOVE_PROGRAMS ON SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId AND SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "DR Systems Web Ambassador" AND SMS_G_System_ADD_REMOVE_PROGRAMS.Version NOT LIKE "R7[_]2[_]28[_]100[_]"
< Message edited by jnelson993 -- 8/27/2008 3:23:57 AM >
_____________________________
Number2 (John Nelson) MyITForum - Blog MyITForum - Forum Posts
|