Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LIKE in subquery or subselect
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01467906
Message ID:
01467914
Views:
28
This statement is actually a test. I am really trying to select some records based on a NOT LIKE match in another table...

I can't use a NOT LIKE in my inner join because the logic is incorrect. I've thought of a hack, but like the subquery option if I could use LIKE in a subquery.

What I am really trying to do is :
SELECT rawhits.hostaddy FROM rawhits ;
WHERE NOT EXISTS (SELECT 1 FROM exclhost WHERE exclhost.hostaddy LIKE rawhits.hostaddy)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform