单项选择题
TestKing.com has multiple servers in a distributed environment. You work with two SQL Server 2005 computers named SQL1 and SQL2. Each server uses SQL Server Authentication and they use different logins.You need to write a distributed query that joins the data on SQL1 with the data on SQL2.
What should you do?()
A.Ensure that both SQL1 and SQL2 use the same login name as the security context for each server.
B.Configure SQL2 as a remote server. Write the query on SQL1.
C.Configure SQL2 as a linked server to impersonate the remote login.
D.Configure SQL2 as a distributed server. Use pass-through authentication.
相关考题
-
单项选择题
You configure a new SQL Server 2005 computer to use TCP/IP with all default settings. Your corporate policy requires that each server use a firewall. You find that you can connect to the SQL Server instance from the local computer. However, client computers cannot connect to the SQL Server instance.You need to identify the most likely cause of the connection issues. What should you do first?()
A.Ensure that port 1433 is open in your firewall.
B.Ensure that port 443 is open in your firewall.
C.Ensure that client computers connect by using Shared Memory protocol.
D.Ensure that the server is not paused. -
多项选择题
You are preparing for a new installation of SQL Server 2005. You need to select the protocols that client computers might use to connect to the server. Which two protocols can you use to achieve this goal?()
A.Named Pipes
B.TCP/IP
C.Shared Memory
D.Virtual Interface Adapter (VIA)
E.Multiprotocol -
单项选择题
Your application must access data that is located on two SQL Server 2005 computers. One of these servers is named SQL1 and the other is SQL2. You have permissions to create a stored procedure on SQL1 to support your application. However,on SQL2 you only have permissions to select data. You write the stored procedure on SQL1. The stored procedure accesses SQL2 by using the OPENQUERY Transact-SQL statement. However,the query fails when executed.You need to troubleshoot the cause of the error. What should you do?()
A.Join the two servers by using the four-part syntax of server.database.schema.table.
B.Reference SQL2 by using an alias.
C.Add SQL2 as a remote server to SQL1.
D.Add SQL2 as a linked server to SQL1.
