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

Joins

Status
Not open for further replies.

dcjames

Technical User
Nov 3, 2010
32
US
Hoping someone may have a solution for a problem that I'm having.

I have 2 text files that contain an ID and a Host Name in both files. I'm looking to have returned only those Host Names that appear in 1 file but not the other.

Here's an example

File A File B
ID Host ID Host
SS0962 ABIG SS0962 ABIG
SS0962 ASG SS0962 ASG
SS0962 LDAP

What I'm looking to have returned would be only SS0962 LDAP from File A ( since there is no match in File B).

I have tried outer joins, is nulls, not is null,etc with not much luck

Any help is appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top