• sonalijain.engg (3/26/2013)


    while loading CSV with double quotes and comma there is one limitation that extra double quotes has been added and the data also enclosed with the double quotes you

    can check in the preview of source file.

    So, add the derived column task and give the below expression:-

    (REPLACE(REPLACE(**RIGHT(SUBSTRING(TRIM(COL2),1,LEN(COL2) - 1),LEN(COL2) - 2)**," ","@"),"\"\"","\""),"@"," ")

    the bold part removes the data enclosed with double quotes.

    Try this and do let me know if this is helpful

    Useful suggestion, but I do hope the OP solved his problem 2 years ago 😉

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP