Creation of flat file with dynamic delimiter

  • Hi All

    I have come across typical requirement. I want to generate flat file by combining two or more tables. The expected flat file delimiter should be dynamic. i.e. if the variable value contains '|' then it should be | delimited, if variable value is ';' it should be ; separated and if variable value sets to ',' it should be generated as comma separated.

    Please help.

  • How are you doing the output? If it's through SSIS, I believe you can set the delimiter dynamically through a variable.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply