global words转全局对
PRSDBLOGAffectedRowCount @PackageType,1350,@@RowCount while @@rowcount>1 delete from temp OUTPUT deleted.* INTO temp_deleted WHERE OperateTime > @CurrentDate exec PRSDBLOGAffectedRowCount set rowcount 0