我有一个excel export的报告。由于数据量很大,它显示“超出了500个最大页面的限制。”错误,并且不会看到“导出”选项已启用。 我尝试使用成功和失败通知电子邮件安排报告,但没有收到任何:(
这是因为有大量数据吗?
我们非常感谢任何信息或建议。
提前致谢! Manasa
答案 0 :(得分:0)
您可以通过设置select
BadgeNum, USERID, Dated, Name
, right('0' + cast(datediff(mi, [in], [out]) / 60 as varchar(10)), 2) + ':'
+ right('0' + cast(datediff(mi, [in], [out]) % 60 as varchar(10)), 2)
from (
select
ch.BadgeNum, ch.USERID, dated = cast(ch.Dated as date), ui.Name
, [in] = min(case when ch.CHECKTYPE = 'I' then ch.Time end)
, [out] = min(case when ch.CHECKTYPE = 'O' then ch.Time end)
from
CheckInOut ch
left join UserInfo ui on ch.USERID = ui.badgenumber
where
ch.Dated >= '20180401'
and ch.Dated < '20180404'
group by ch.BadgeNum, ch.USERID, cast(ch.Dated as date), ui.Name
) t
属性来更改最大页面限制。
示例:
net.sf.jasperreports.governor.max.pages = 1000