Hi folks
I have a situation where i have 20 Access databases. Each has the same 15 tables, but with different data. (The name and schema is identical for each table across the 20 databases).
I want to make a new database with the same structure, and populate it with the contents of all of the 20 original databases, so i have one database with 15 big tables instead of 20 databases with 15 smaller tables.
I have to do it all in SQL, as i'm interfacing via this Ruby Acess library - http://rubyonwindows.blogspot.com/2007/06/using-ruby-ado-to-work-with-ms-access.html
Can anyone help me out with the SQL? All i really need i think is an example of appending all the records from one table in a source db to one table in a destination db.
Oh and to make things a little more complicated, each of the fifteen tables in each db has a different set of fields, and some have a lot of fields (40 or so). So, the perfect lazy solution would not require me to list every field in the table when i copy the rows across. Is this possible?
thanks max