摘要: tab1 表结构:create tab1 (id int primary key identity(1,1),parentid int not null,name varchar(25))递归语法(利用CTE表达式):1.根据父id递归查询子idwith tem1(id,parentid,name)... 阅读全文
posted @ 2013-07-29 19:47 andysd 阅读(432) 评论(0) 推荐(0) 编辑