æ°å»ºæ¥è¯¢ï¼
use Vline_TimeSheet ---æ°æ®åºå称
-----------------声æåå¨è¿ç¨ä¸çåé-----------------------------
declare @tblName varchar(255), -- 表å
@fldName varchar(255), -- 主é®å段å
@PageSize int = 10, -- 页尺寸
@PageIndex int = 1, -- 页ç
@IsReCount bit = 0, -- è¿åè®°å½æ»æ°, é 0 å¼åè¿å
@OrderType bit = 0, -- 设置æåºç±»å, é 0 å¼åéåº
@strWhere varchar(1000) = ''
-------------------------åéèµå¼------------------------------------
set @tblName='Project';
set @fldName='SalesmanId';
set @PageSize=8;
set @PageIndex=2;
set @IsReCount=0;
set @OrderType=0;
set @strWhere='1=1';
-------------- -----------æ§è¡--------------------------------------
exec UP_GetRecordByPage @tblName, @fldName,@PageSize,@PageIndex,@IsReCount,@OrderType,@strWhere; --åå¨è¿ç¨å称ï¼åæ°
ç¹å»è°è¯æé®ï¼åæ¥æ§è¡F10 å³å¯ã
温馨提示:答案为网友推荐,仅供参考