Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server 2005 query multiple Access databases?

Is there a way to get SQL Server 2005 to query 3 or more separate Access databases (each returning 1 record) in one SQL statement?

like image 343
user261338 Avatar asked Feb 28 '23 16:02

user261338


1 Answers

Yes, but it will require you to create a Linked Server instance for each Access database. See here for details about creating Linked Server instances on SQL Server 2005 to MS Access.

Once you have those in place, you can query SQL Server and it will pass on the queries to the respective Access databases based on using the Linked Server instance notation when specifying tables in your SQL Server queries.

like image 135
OMG Ponies Avatar answered Mar 02 '23 23:03

OMG Ponies