adplus-dvertising

Welcome to the Data Connectivity MCQs Page

Dive deep into the fascinating world of Data Connectivity with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Data Connectivity, a crucial aspect of SQL Server. In this section, you will encounter a diverse range of MCQs that cover various aspects of Data Connectivity, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within SQL Server.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Data Connectivity. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of SQL Server.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Data Connectivity. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Data Connectivity MCQs | Page 2 of 10

Discuss
Answer: (c).sp_addlinkedserver [ @server= ] 'server' [ , [ @srvproduct= ] 'product_name' ]
[ , [ @provider= ] 'provider_name' ]
[ , [ @datasrc= ] 'data_source' ]
[ , [ @location= ] 'location' ]
[ , [ @provstr= ] 'provider_string' ]
[ , [ @catalog= ] 'catalog' ]
Discuss
Answer: (d).All of the mentioned
Q13.
sp_addlinkedserver command creates a distributed server entry called _________ in the following code.
sp_addlinkedserver
        @server = "Northwinds",
        @srvproduct = "Access 97",
        @Provider =
                "Microsoft.Jet.OLEDB.3.51",
                @datasrc =
                "c:\brian\writing\sqlservermag\nov98\nwind.mdb"
Discuss
Answer: (d).Northwinds
Q14.
Which of the following command tells that all local users are logged in as “sa” in the following code?
EXEC sp_addlinkedsrvlogin
@rmtsrvname = "Northwinds",
@useself = "false",
@locallogin = "sa",
@rmtuser = "Admin",
@rmtpassword = NULL
Discuss
Answer: (c).sp_addlinkedsrvlogin
Discuss
Answer: (a).SQL Server cannot use execution strategies that involve using the procedures of the Table provider to evaluate predicates
Q16.
Which of the following function mainly used for bulk load data is referenced in the following code?
SELECT
RemoteOrders.*
FROM
OpenRowset("Microsoft.Jet.OLEDB.3.51",
"c:\brian\writing\sqlservermag\nov98\nwind.mdb"; "admin"; ,
"select * from orders") RemoteOrders
LEFT JOIN MasterOrders ON
RemoteOrders.OrderId = MasterOrders.OrderId
WHERE
MasterOrders.OrderID = NULL
Discuss
Answer: (a).OpenRowset
Q17.
Which of the following SQL syntax elements is dictated by the SQL dialect levels?
Discuss
Answer: (d).None of the mentioned
Q18.
Which of the following function will be preferred for faster execution in following code?
SELECT
RemoteOrders.*
FROM
________(Northwinds, "select * from orders")
RemoteOrders LEFT JOIN MasterOrders ON
RemoteOrders.OrderId = MasterOrders.OrderId
WHERE
MasterOrders.OrderID = NULL
Discuss
Answer: (c).OpenQuery
Discuss
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'
Q20.
The easiest way to start is to create a linked server ‘localhost’ by using _____________
Discuss
Answer: (d).sp_addlinkedserver ‘localhost’
Page 2 of 10

Suggested Topics

Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!