MS Access - combine tables

oracle United States
  • 17 years ago

    Hello, I have 3 ms access databases that have identical table structures but different data that I want to combine into one database.  Anyone have any idea on how to do that?  Thanks....


  • 17 years ago

    3 very simple sql statements.


    If tabe1 is your new table with the same structure and table2 , table3, table4 are your three tables



    Insert into table1 (select * from table2)
    Insert into table1 (select * from table3)
    Insert into table1 (select * from table4)



    you may not need the brackets.

  • 17 years ago

    Thanks, I didn't think of that... You Rock!

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Never trust a programmer in a suit.” - Anonymous