Board index » delphi » "merging" several databases
zaij...@my-deja.com
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
zaij...@my-deja.com
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
"merging" several databases
Here's the deal:
Database #1 has fields B, C, D, E How can I create another database by linking the two databases along Perferably without any programming, like through paradox or something. -- Sent via Deja.com http://www.deja.com/ |
Richard Cart
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:"merging" several databasesQuotezaij...@my-deja.com wrote: : Database #2 has fields A, B : How can I create another database by linking the two databases along : Perferably without any programming, like through paradox or something. No, no, we Delphi users avoid distasteful things like programming If you're already familiar with Paradox, use the tools you know. |
Sundial Service
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:"merging" several databasesWhat you are describing is a JOIN query. For example: SELECT DISTINCT B, C, D, E, A This will produce a result of every unique combination of rows that can Quotezaij...@my-deja.com wrote: Sundial Services :: Scottsdale, AZ (USA) :: (480) 946-8259 mailto:i...@sundialservices.com (PGP public key available.) Quote> Fast(!), automatic table-repair with two clicks of the mouse! |
zaij..
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:"merging" several databasesThat's not exactly what I had in mind - I was thinking more along the lines of how to combine the two database files I have into one database file, so that in Delphi, I don't have to use multiple ttables and then link them together. In article <8bl4uc$c3...@news.ececs.uc.edu>, Quotecarte...@email.uc.edu wrote: -=PHiL=- Sent via Deja.com http://www.deja.com/ |
Bel
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:"merging" several databasesSelect a.t2,b.t1,c.t1,d.t1,e.t1 FROM Table1.t1,Table2.t2 WHERE (b.t1=b.t2) Hope this helps... Quote----- Original Message ----- |
Richard Cart
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:"merging" several databasesQuotezaij...@my-deja.com wrote: : lines of how to combine the two database files I have into one database : file, so that in Delphi, I don't have to use multiple ttables and then : link them together. Well, several people have given you the query. If you run that query |
zaij..
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:"merging" several databasesI am a complete SQL novice,so how would I go about making this program using delphi? In article <38DE26E0.2...@sundialservices.com>, Quotei...@sundialservices.com wrote: -=PHiL=- Sent via Deja.com http://www.deja.com/ |