EXEC master.dbo.sp_addlinkedserver
@server = N‘test‘,
@srvproduct=N‘OLE DB Provider for Jet‘,
@provider=N‘Microsoft.Jet.OLEDB.4.0‘,
@datasrc=N‘E:\DB.mdb‘
EXEC master.dbo.sp_addlinkedsrvlogin
@rmtsrvname = N‘GH‘,
@locallogin = NULL ,
@useself = N‘False‘,
@rmtuser = N‘admin‘,
@rmtpassword = N‘pwd‘
时间: 2024-09-30 20:16:55