SSRS Export to pipe delimited file loose its headers

可紊 提交于 2019-12-24 06:38:44

问题


A team I work with has created a report in SSRS that they export to a .txt file for me to upload into SQL using SSIS. This issue is that there are no column headers. I ran the report in report builder and the headers are there until I export to txt. They are there in excel but we need it as a csv. Has anyone else encountered this and if so how did you resolve it?


回答1:


For XML and CSV there are properties to control export behaviour, if the result is different from what you expected

DataElementName: this is the title of the exported column/field. Default is blank DataElementOutput: set if you want the control whether the column will be exported or not. Defaults to auto



来源:https://stackoverflow.com/questions/45289682/ssrs-export-to-pipe-delimited-file-loose-its-headers

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