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.