Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Indicates whether the current node descends from the specified node.
The following example returns all the cases that are descendents of the node that is specified in the IsDescendant function.
SELECT * FROM [TM Decision Tree].CONTENT WHERE IsDescendant('00000000100')