Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

invalid characters in input file Expand / Collapse
Posted Tuesday, March 12, 2013 6:50 PM


Group: General Forum Members
Last Login: Monday, May 9, 2016 2:55 PM
Points: 17, Visits: 103
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

Post #1430172
Posted Wednesday, May 22, 2013 9:46 PM



Group: General Forum Members
Last Login: Today @ 5:32 AM
Points: 5,668, Visits: 11,156
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.
Post #1455792
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse