Joining two tables from different databases

  • Thread starter Thread starter Dean Perry
  • Start date Start date
D

Dean Perry

I have a table from a SQL Server database and a table from a Foxpro
database loaded into a dataset. There is a one-to-one relationship
between the tables although there may not be a record in the SQL table.
I would like to display the Foxpro data in a datagrid and mark the row
if there is a matching record in the SQL table.

Any ideas?
 
I'd write a stored procedure in SQL Server that returns the rows.
Whenever you're performing heterogeneous joins you have to pull in all
of the rows for both tables. This will likely go faster if you do it
on the server.

--Mary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top