Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


NOT ABLE TO EXTRACT DATE VALUES FROM RAW DATA


NOT ABLE TO EXTRACT DATE VALUES FROM RAW DATA

Author
Message
kiran.vaichalkar
kiran.vaichalkar
Valued Member
Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)

Group: General Forum Members
Points: 58 Visits: 127
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?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search