Patrick Jackman
2010-05-06 20:35:11 UTC
In SQL Server 2008 I am creating linked servers from several secured Jet
databases to read data. Fortunately they all use the same .mdw.
The only way that I have been able to get this to work is by setting the
server's HKLM\Microsoft\Jet\4.0\Engines\SystemDB to point to the .mdw file.
Then I run TSQL similar to this:
EXEC sp_addlinkedserver
@server='MCardDat',
@provider='Microsoft.Jet.OLEDB.4.0',
@srvproduct='OLE DB Provider for Jet',
@datasrc='C:\My Documents\Projects\Medicard\CAN\Data\MCardDat.mdb'
EXEC sp_addlinkedsrvlogin 'MCardDat', FALSE, NULL, 'Login', 'pwd'
Is there any other way to read the secured Jet data?
Patrick
=-=-=-=-=-=-=-=-=-=-=-=-=-
Patrick Jackman
Vancouver, BC
databases to read data. Fortunately they all use the same .mdw.
The only way that I have been able to get this to work is by setting the
server's HKLM\Microsoft\Jet\4.0\Engines\SystemDB to point to the .mdw file.
Then I run TSQL similar to this:
EXEC sp_addlinkedserver
@server='MCardDat',
@provider='Microsoft.Jet.OLEDB.4.0',
@srvproduct='OLE DB Provider for Jet',
@datasrc='C:\My Documents\Projects\Medicard\CAN\Data\MCardDat.mdb'
EXEC sp_addlinkedsrvlogin 'MCardDat', FALSE, NULL, 'Login', 'pwd'
Is there any other way to read the secured Jet data?
Patrick
=-=-=-=-=-=-=-=-=-=-=-=-=-
Patrick Jackman
Vancouver, BC