Method Tree_SelectAncestorRows()
An object and its ancestors in one statement, as rows (Id, IdParent, IdScheme, Depth; the object itself has
depth 0, its parent 1), ordered by depth. Params: $1=objectId, $2=maxDepth. A cycle repeats rows up to the
depth; the caller detects it.
public string Tree_SelectAncestorRows()