首页 文档 YourcompanyhastwoSQLServer2005computersnamedSQL1andSQL2Ause

YourcompanyhastwoSQLServer2005computersnamedSQL1andSQL2Ause

YourcompanyhastwoSQLServer2005computersnamedSQL1andSQL2.AuserinyourcompanynamedEricwritesmanyadhocqueriesagainstthecompanydatabases.ErichasaccesstotheCustomerdatabaseonSQLHedoesnothaveaccesstotheSalesdatabaseonSQL2.YouneedtoensurethatEriccanwritequeriesthatjoininformationfrombothservers.Whatshouldyoudofirst?()

A.CreatealinkedserveronSQL1toSQL2.Configurethelinkedservertouseimpersonation.

B.CreatealinkedserveronSQL1toSQL2.Configurethelinkedservertousemappedlogins.

C.InstructErictowritethequeriesonSQL2byusingtheOPENQUERYstatementandspecifyingSQL1astheservername.

D.InstructErictospecifySQLServerobjectnamesbyusingfour-partnotation.

参考答案:B

本文来自网络,不代表煤炭资讯立场。转载请注明出处: http://www.mtxh.cn/bk/wd-bk/414311.html
上一篇
下一篇

作者: Anita

为您推荐

返回顶部