What is the syntax quering data from multiple Access databases?

I

ionoloso

What is the syntax quering data from multiple Access databases? Any
suggestions or examples?
 
M

Marshall Barton

ionoloso said:
What is the syntax quering data from multiple Access databases? Any
suggestions or examples?


Use the IN "path" phrase in the FROM clause.
 
M

Marshall Barton

onedaywhen said:
I find the 'brackets' syntax easier to read e.g.

SELECT key_col, data_col FROM
[MS Access;Database=C:\db1.mdb;].Test


It's your call of course, but, for mdb files, I prefer

SELECT key_col, data_col
FROM Test IN "C:\db1.mdb"

I do agree with you when the foreign db requires a full
connect string though.
 
Top