Bronco Solutions

Knowledge Management and Collaboration Platform
Welcome to Bronco Solutions Sign in | Join | Help
in Search

Andrew Renner

SQL Server Linked Server to MS Access

Execute the following in the query analyzer:

-- add the linked server
EXEC sp_addlinkedserver   '<Reference Name>',  '<Linked server type>', 'Microsoft.Jet.OLEDB.4.0',  '<Full Path to DB>'

-- add the login credentials
EXEC sp_addlinkedsrvlogin '<Reference Name>', '<impersonate - true or false>',<Local User or Null>, '<username>', '<pwd>'

-- Help on the linked server:
EXEC sp_linkedservers
EXEC sp_helpserver
select * from sysservers

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_adda_8gqa.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_qd_12_6a44.asp

 

Published Tuesday, June 14, 2005 1:44 PM by rennera
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit