Method Query_GetParentIdsFromDescendantsSql(string, int)
SQL for getting parent IDs from descendant IDs using recursive CTE.
PostgreSQL: WITH RECURSIVE ancestors AS (...)
MSSQL: WITH ancestors AS (...)
string Query_GetParentIdsFromDescendantsSql(string idsString, int depthLimit)