关于动态报表
如下:
declare @str varchar(8000)
while @@fetch_status=0
begin
@str=@str+',sum(case when aaa then bbb when ccc then ddd else 0 end)
fetch next from cursor_test into
end
@str='select aaaa,bbbb,'+str +'from 表名'
当循环次数很多时,len(@str)>8000 ,
请问碰到这种情况有什么办法来做好?????
declare @str varchar(8000)
while @@fetch_status=0
begin
@str=@str+',sum(case when aaa then bbb when ccc then ddd else 0 end)
fetch next from cursor_test into
end
@str='select aaaa,bbbb,'+str +'from 表名'
当循环次数很多时,len(@str)>8000 ,
请问碰到这种情况有什么办法来做好?????
...全文
相关推荐
PB动态报表的实现PB动态报表的实现
PB动态报表的实现PB动态报表的实现PB动态报表的实现PB动态报表的实现PB动态报表的实现PB动态报表的实现
真正的全动态报表
Crystal Repotrs的功能固然很强大,但是对我们写程序的人来说,是否支持动态生成才是最重要的。如果报表只能静态生成再嵌入到程序中,实在有些没意思。<br>
创建动态报表子程序创建动态报表子程序
创建动态报表子程序创建动态报表子程序创建动态报表子程序创建动态报表子程序创建动态报表子程序创建动态报表子程序
devexpress动态报表
DevExpress.XtraReports.UI.XtraReport 动态报表
nc动态报表制作
用友 nc 动态报表


