xml Data Type Methods
none (documentation, rules or examples)
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
n/a (reference page)
Work example
Pick an XML method based on whether a query needs a boolean, scalar, fragment, rowset, or mutation.
Use exist for filtering, value for one typed scalar, query for XML output, nodes for rows, and modify for updates.
Check your work An XML method returns a specific SQL shape and XQuery expressions must match that shape.
Open Microsoft Learn for full syntax, permissions, and details for your version.