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

SSIS Package Expand / Collapse
Author
Message
Posted Wednesday, November 27, 2013 1:08 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 8:47 AM
Points: 229, Visits: 701
I have a package wherein I move data from Excel to SQL.
I need to add a step in between where i can remove leading and trailing quotation marks from a field.
example "ABC" should be ABC.

Should I use a derived column between source and destination table?
I tried using the expression Replace([column name],""","") but it gives an error.

Post #1518195
Posted Wednesday, November 27, 2013 1:47 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 8:47 AM
Points: 229, Visits: 701
REPLACE([PRODUCT],"\""," ")
--------------------------------------------------------------------------------
Works!
Post #1518206
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse