将本地的所有用户连接到一个叫做ORACLE_DB的链接服务器时,都映射为一个叫做or
7 查阅
EXEC sp_addlogin @rmtsrvname = ‘ORACLE_DB’,@useself = ‘true’,@rmtuser=’ oracle_user’,@rmtpassword = ‘1234’
EXEC sp_addlinkedsrvlogin @rmtsrvname = ‘ORACLE_DB’,@useself = ‘true’,@rmtuser=’ oracle_user’,@rmtpassword = ‘1234’
EXEC sp_addlinkedsrvlogin @rmtsrvname = ‘ORACLE_DB’,@useself = ‘false’,@rmtuser=’ oracle_user’,@rmtpassword = ‘1234’
EXEC sp_addlogin @rmtsrvname = ‘ORACLE_DB’,@useself = ‘false’,@rmtuser=’ oracle_user’,@rmtpassword = ‘1234’
参考答案: