• It is set from the "FROM" clause. Look at the following:

    ........FROM @x.nodes('//salesOrder') AS x(header)

    Does this answer your question? It is a type of alias that we assign to the resultset.

    .