adplus-dvertising
frame-decoration

Question

Which of the following query combines data from more than one SQL Server instance?

a.

USE SCRATCH
GO
SELECT TOP 1000 *
FROM REMOTE.Scratch.dbo.Table1 T1
INNER JOIN REMOTE.Scratch.dbo.Table2 T2
ON T1.ID
= T2.ID

b.

USE SCRATCH
GO
SELECT *
FROM dbo.Table1 T1
INNER JOIN REMOTE.Scratch.dbo.Table2 T2
ON T1.ID
= T2.ID
WHERE T1.GUIDSTR < '001'

c.

USE SCRATCH
GO
SELECT TOP 500 *
FROM REMOTE.Scratch.dbo.Table1 T1
OUTER JOIN REMOTE.Scratch.dbo.Table2 T2
ON T1.ID
= T2.ID

d.

None of the mentioned

Posted under SQL Server

Answer: (b).USE SCRATCH
GO
SELECT *
FROM dbo.Table1 T1
INNER JOIN REMOTE.Scratch.dbo.Table2 T2
ON T1.ID
= T2.ID
WHERE T1.GUIDSTR < '001'

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following query combines data from more than one SQL Server instance?

Similar Questions

Discover Related MCQs

Q. The easiest way to start is to create a linked server ‘localhost’ by using _____________

Q. To use the .NET Framework Data Provider for SQL Server, an application must reference the _____________ namespace.

Q. Point out the correct statement.

Q. Valid Code for Creating a SqlConnection Object would be ____________

Q. Code snippet for having a named instance of SQL Server would be ___________

Q. Point out the wrong statement.

Q. Which of the following is enumeration for ADO.net with SQL Server?

Q. Syntax for closing and opening the connection in ADO.net is _______________

Q. Which of the following gives trusted Connection from a CE device?

Q. The main features of dotConnect for SQL Server includes ___________

Q. __________object is used to fill a DataSet/DataTable with query results in ADO.net.

Q. Point out the correct statement.

Q. LINQ query to retrieve a selection of customers, each with their high-value purchases is _____________

Q. LINQ Query to list all purchases of $1000 or greater made by customers who live in Washington.

Q. Point out the wrong statement.

Q. Which of the following sample code is used to select data Using LinQ To SQL?

Q. Which of the following code snippet would traverse through all result objects ?

Q. LINQ to SQL is considered to be one of Microsoft’s _______ products.

Q. LINQ to SQL in SQL Server fully supports ____________

Q. Point out the wrong statement.