SQL存储过程之分页用法
create procedure [dbo].[psys_Paging] sql text, --要执行的sql语句 page int, --要显示的页码 pageSize int, --每页的大小 pageCount int0 out, --总页数 recordCount int0 out --总记录数 as begin set nocount on declare p1 int exec sp_cursoropen p1 output,sq…
2026/8/1 1:17:48