troubleshooting Question

Different SQL Servers, Different schema, same output

Avatar of samirise
samiriseFlag for United States of America asked on
DatabasesMicrosoft SQL ServerSQL
2 Comments1 Solution366 ViewsLast Modified:
I have two sql servers,

SQLA is SQL 2000 with a database named CLUB containing tables: CustomerFirstName CardID CustomerLastName

SQLB is SQL2005 with a database named HOTEL containing tables: CustomerFirstName, CARDNUMBER and CustomerLastName

The goal is to determine what customers from SQLB have used our services contained in SQLA. By matching on any of the tables, we need to idenitfy which customers from SQLB also have a CardID in SQLA and which do not. We also need to match by name, those who do have a CARDNUMBER but have a blank CardID entry. These tables will not be equal length. These servers are linked.

Can this be done?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros