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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching Multiple Tables

Status
Not open for further replies.

chrigil

Programmer
Sep 23, 2003
178
GB
Can anyone explain how I would search x amount of columns in x amount of tables where searchCriteria LIKE something?

I understand how to search a table as follows:

SELECT * FROM myTable WHERE searchCriteria LIKE '%Car%'

but I want to search 3 tables and a limited number of columns in each table for instances of the word Car

Is this possible and if so how?

Thanks in advance

Chris
 
Are the 3 tables structured the same or joined together ?
Posting the tables structure with the eventual relation ships would help us to help you.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top