SpreadsheetAddRows failing on moderate size query

自作多情 提交于 2019-12-01 12:59:13

My Answer lies with coldfusion and one simple fact: DO NOT USE SpreadsheetAddRows or any of those related functions like SpreadsheetFormatRows

My solution to this was to execute the query, create an xls file, use the tag cfspreadsheet to write to the newly created xls file, then serve to the browser, deleting after serving

Using SpreadsheetAddRows, Runtime went from crashing server on 1000+ rows, 5+mins on 700 rows Using the method outlined above 1-1.5 secs

if you are interested in more code, i can provide just comment, i am using the coldbox framework so didnt think the specificness would help just the new workflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!