IsDescendant (DMX)

Si applica a: SQL Server Analysis Services

Indica se il nodo corrente discende dal nodo specificato.

Sintassi

  
IsDescendant(<NodeID>)  

Tipo restituito

Tipo booleano.

Osservazioni:

IsDescendant viene usato solo nel modello< SELECT FROM>. MODELLO CONTENT (DMX) e SELECT FROM<>. query DMX (DIMENSION_CONTENT).

Esempi

Il seguente esempio restituisce tutti i casi che sono discendenti del nodo specificato nella funzione IsDescendant.

SELECT * FROM [TM Decision Tree].CONTENT  
WHERE IsDescendant('00000000100')