-3

I have separate MySQL database servers.

How can I JOIN the data from queries to the databases on these servers, and show it on a DBgrid?

[Answer] http://dev.mysql.com/doc/refman/5.1/en/federated-storage-engine.html

Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
  • 1
    Is the question "how can I show data that doesn't exist"? – Sertac Akyuz Sep 11 '13 at 10:07
  • @Jan - Your edit probably hides the fact that there are no connection between servers. If that is the case that is.. Also in which case the question definitely is not a duplicate. – Sertac Akyuz Sep 11 '13 at 10:52
  • 1
    You either make the servers available so that you can write a single query to access them (in SQLServer it's as a linked server), or you create a temp table on the local machine, select from each server into those temp tables, merge the tables (even if it's one row at a time via a table), and then query the local data. – Ken White Sep 11 '13 at 11:02
  • 1
    @Sertac I went back to the original question but don't read that. What he writes is that one central server is out of the question because the four locations want to have their servers in-house. – Jan Doggen Sep 11 '13 at 11:09
  • @Jan - In that case, your edit is fine. :) – Sertac Akyuz Sep 11 '13 at 11:12
  • 1
    How many fields are we stitching together and how large is the dataset? It might be practical to load all the datasets to the client and provide calculated fields on the 'master', or as Max suggests - populate a ClientDataset – Hugh Jones Sep 11 '13 at 13:00

1 Answers1

-1

I have different queries and combine it manually in a TClientDataSet.

markus_ja
  • 2,931
  • 2
  • 28
  • 36