Google News
logo
SQL Server - Quiz(MCQ)
Why do we use exist methods in Xquery?
A)
To search inside xml data types
B)
To examine the XML and return back a scalar value
C)
To determine if the XML data contains a certain node
D)
To Shred the XML nodes of the XML data into relational columns

Correct Answer :   To determine if the XML data contains a certain node


Explanation : exist() method is used to determine whether a query returns a nonempty result or not.

Advertisement