SQL Server Recursion Breakdown

前端 未结 0 362
孤城傲影
孤城傲影 2020-12-15 22:42
WITH tree AS (
SELECT 
    ID,
    Name, 
    ParentID, 
    CAST(\'0\' AS VARCHAR(MAX)) as Parent
FROM family
-- Initialize the ParentID to 290 
WHERE ParentID = 29         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题