Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alll words search

Status
Not open for further replies.

Hameedullah

Programmer
Aug 12, 2002
29
0
0
AU
I am trying to do a search to find records that have all words in the the same field not necessary as a phrase. This is the quuery I am trying but it doesn't work.

Code:
select descr, link, keyword from dbo.keywords where  keyword like '%broadband%' and keyword like '%adsl%'

As far as I can think this sould bring all the records that these two words occur in any position in the keyword feild.
 
I do not see any problem with the code. Why do you think that the query is not working? Can you post some sample data?

Regards,
AA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top