sql 遞歸查詢分類樹列表with as

sql 遞歸查詢分類樹列表web ;WITH cte AS ( SELECT * FROM t_Base_Menu tbm WHERE FID=@FCateId UNION ALL SELECT air.* FROM t_Base_Menu AS air INNER JOIN cte ON air.FParentID = cte.FID ) SELECT FID INTO #temp FROM c
相關文章
相關標籤/搜索