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

How do I join (SQL) two fields that are similar not same

Status
Not open for further replies.
May 21, 2001
52
US
I have two tables in Access I am trying to join. I cant remember the SQL. Both fields are text fields. One field contains a vendor name. The field from the other table is a description that contains the vendor name. What is the SQL to join or select using contains?
 

This is the syntax that should work.

Select
table1.colA, table1.colB, ...
table2.colA, table2.colB, ...
From table1, table2
Where table2.vendordesc Like "*" & table1.vendorname & "*" Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums. NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top