ईवेंट्स
Microsoft Fabric में निःशुल्क प्रमाणित हों!
19 नव॰, 11 pm - 10 दिस॰, 11 pm
सीमित समय के लिए, Microsoft फ़ैब्रिक कम्युनिटी टीम मुफ्त DP-600 परीक्षा वाउचर दे रही है।
अभी तैयारी करेंयह ब्राउज़र अब समर्थित नहीं है.
नवीनतम सुविधाओं, सुरक्षा अपडेट और तकनीकी सहायता का लाभ लेने के लिए Microsoft Edge में अपग्रेड करें.
Applies to:
SQL Server
The topics in this section discuss and provide sample code for the data-accessor functions.
XQuery has a function fn:data() to extract scalar, typed values from nodes, a node test text() to return text nodes, and the function fn:string() that returns the string value of a node. Their use can be confusing. The following are guidelines for using them correctly in SQL Server. The XML instance <age>12</age> is used for the purpose of illustration.
Untyped XML: The path expression /age/text() returns the text node "12". The function fn:data(/age) returns the string value "12" and so does fn:string(/age).
Typed XML: The expression /age/text() returns a static error for any simple typed <age> element. On the other hand, fn:data(/age) returns integer 12. The fn:string(/age) yields the string "12".
ईवेंट्स
Microsoft Fabric में निःशुल्क प्रमाणित हों!
19 नव॰, 11 pm - 10 दिस॰, 11 pm
सीमित समय के लिए, Microsoft फ़ैब्रिक कम्युनिटी टीम मुफ्त DP-600 परीक्षा वाउचर दे रही है।
अभी तैयारी करें