Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

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

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, March 20, 2014 2:37 PM
Points: 16, Visits: 90
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
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Monday, August 18, 2014 9:16 PM
Points: 4,576, Visits: 8,347
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