SQL Server XQuery Extension Functions
As described in the topic, Binding Relational Data Inside XML, you use the sql:column() and sql:variable() XQuery extension functions to bind relational data inside XML. The following topics discuss these functions.