SortBy Element
SQL Server 2000
SortBy Element
Defines an individual expression by which to sort the data.
<Sorting>
<SortBy>
<SortExpression>...</SortExpression>
<Direction>..</Direction>
</SortBy>
</Sorting>
Element Characteristics
| Characteristic | Description |
|---|---|
| Data type and length | None |
| Default value | None |
| Cardinality | 1-n: Required element that occurs once or more than once |
Element Relationships
| Relationship | Element |
|---|---|
| Parent element | Sorting |
| Child elements | Direction, SortExpression |