摘要: --上移存储过程create proc sp_sort@id intasdeclare @SortID int --排序位置declare @TempSortID int --临时排序位置declare @TempID int --临时编号begin transactionselect @SortID=SortID from [User] where [ID]=@ID --找出想修改顺序的用户的当前当前排序select @TempSortID=MIN(SortID) from [User] where SortID>@SortID --找出需要修改顺序的上一级顺序的顺序编号select 阅读全文
posted @ 2011-09-26 11:00 晨冬之雪 阅读(180) 评论(0) 推荐(0) 编辑
百度