编写函数dbo.aa(@i int),返回表@t(ml_id int, parent_id int, level int),初始化@level为0,在dbo.T_TEMP_MuLu中选取ml_id=@i的行插入@t,当@@rowcount>0时循环:增加@level,将dbo.T_TEMP_MuLu中a.ml_id、a.parent_id和@level插入@t,左连接@t b,选取b.level=@level-1的行,返回结果至a.ml_id、a.parent_id和@level,删除dbo.T_TEMP_MuLu中ml_id在dbo.aa(49)的结果,删除aa函数,清空dbo.T_TEMP_MuLu,从DB_TOPPING.dbo.T_YingJian插入[ML_ID]、[Parent_ID]、[FolderFlag]、[ML_Name]、[BaoShi]、[Dept]、[ZiLiaoHe]和[BZ]。