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

NOT ABLE TO EXTRACT DATE VALUES FROM RAW DATA Expand / Collapse
Author
Message
Posted Wednesday, March 12, 2014 3:20 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, November 7, 2014 12:37 AM
Points: 57, Visits: 115
Hi Folks,

PSB the RAW FILE CONTENT(PRESUME DEFAULT DELIMITER AS {CR}{LF})

emp_no project_no job DATE_OF_JOIN
1 p3 Manager 2008.1.1
2 p2 Clerk 2007.2.15
3 p2 null 2007.6.1
4 p3 Analyst 2007.10.15
5 p1 Manager 2007.4.15
6 p2 Clerk 2008.2.1
7 p1 Clerk 2007.1.4

FIRST DFT - FLAT FILE SOURCE(to read the above raw data)
SECOND DFT - DERIVED COLUMN T :
ON Col : DATE_OF_JOIN-(converted to DERIVED COLUMN 1)
EXPRESSION USED : (DT_DATE)(SUBSTRING(DATE_OF_JOIN,5,2) + "/" + SUBSTRING(DATE_OF_JOIN,7,2) + "/" + SUBSTRING(DATE_OF_JOIN,1,4))
DATA TYPE: DT_DATE

But Im continously facing the same below three issues.
--------------------------------------------------------------------------------------
[Derived Column 1 [232]] Error: An error occurred while attempting to perform a type cast.

[Derived Column 1 [232]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Derived Column 1" (232)" failed because error code 0xC0049064 occurred, and the error row disposition on "output column "JOIN_DATE" (309)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Derived Column 1" (232) failed with error code 0xC0209029 while processing input "Derived Column Input" (233). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
------------------------------------------------------------------------------------------------


Could you please help me?
Post #1550442
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse