create proc pagecell
(
@ps1 int,
@ps2 int
)
as
select top @ps1*@ps2+1 * into #tb1 from t_msglog order by l_id asc
select top @ps2 * from #tb1 order by l_id desc
create proc pagecell ( @ps1 int, @ps2 int ) as select top @ps1*@ps2+1 * into #tb1 from t_msglog order by l_id asc select top @ps2 * from #tb1 order by l_id desc 服务器: 消息 170,级别 15,状态 1,过程 pagecell,行 7 第 7 行: '@ps1' 附近有语法错误。怎么的啊