SSIS 2012: Trim trailing commas from a CSV output

后端 未结 2 1717
花落未央
花落未央 2020-12-22 02:45

I have a file, I cannot control the output, that has a trailing comma on each data row and not the header row.

\"Pid\",\"Dtdate\",\"Tencode\",\"Stype\",\"Amo         


        
2条回答
  •  太阳男子
    2020-12-22 03:00

    An even simpler approach would be to change your connection manager to skip the header row.

    • Header rows to skip: 1
    • Column names in the first data row: unchecked

    enter image description here

提交回复
热议问题