摘要:
对存储过程一直不是很了解。这两天系统看了下,自己尝试写了个分页存储过程。获取目录树。Column_tree中包含字段tree_id,tree_name,add_time等CreateProcedure [dbo].[GetTree]( @PageNumber Int, @PagePerPage int, @HowMany int output)as--定义表变量declare @tree table( rowNumber int, tree_id int, tree_name varchar(50))--插入数据insert into @treeselect ROW_NUMBER() OVER 阅读全文
![](/skins/gray/images/separator.gif)