invalid characters in input file

  • jb_sql_geek

    Old Hand

    Points: 309

    Hi all, I'm being told I have to scrub invalid data in an input file.

    I have a 30 character description field with extended Ascii poop causing a failure in my SSIS package, trying to store this in a char column.

    Is there a simple way using sql to replace ascii values < 32 and > 127 with a space ' '?

    thanks in advance

  • Sergiy

    SSC Guru

    Points: 109668

    I don't think you can create and run an SSIS package on SQL 6.5 or earlier.

    It must be something more contemporary you use for that.

    If so you just need to include REPLACE comand into data processing of your package.

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

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