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

TSQL Select from merged files syntax

Status
Not open for further replies.

Tomadams

Programmer
Jun 26, 2001
141
US
Hi,

I need to select every record in one file, if one field is found in either one of two files the logic is simple

Select table1.* if table1.model = either table2.model or table3.name.

I think I need to merge the key fields from table2 and table3, then select my records from table1.

Can anyone help with the syntax?

Thanks, Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top