c676228
2009-05-21 04:54:00 UTC
Hi all,
About a year ago when I upgrade our server from sql 2000 to 2005.
I created a coupld ssis packages via SQL Server 2005 Import and Export Wizard.
I remember I spent quite some time to figure out how to map data from a flat
file to sql server data table.
Now I need to do the similar thing since our table schema is changed and I
need to remap data from a flat file to the changed table. I encoutered the
similar problem but I was not able to solve it quickly this time. I am
dealing with the production issue.
The error message is something like this:
///////////////
• Error 0xc020901c: Data Flow Task: There was an error with input column
"SpouseBirthday" (349) on input "Destination Input" (263). The column status
returned was: "The value could not be converted because of a potential loss
of data.".
(SQL Server Import and Export Wizard)
• Error 0xc0209029: Data Flow Task: The "input "Destination Input" (263)"
failed because error code 0xC0209077 occurred, and the error row disposition
on "input "Destination Input" (263)" specifies failure on error. An error
occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
/////////////
I noticed that the first record of spouseBirthday from souce file is empty(
I have a lot of empty date fields in source file), while my desitnation table
require datetime field. It seems that it complains about the empty field
cannot be converted into datetime datatype. But somehow I did last year.
I just don't remember how I mapped data from source file to destination
table column by column.
Can you shed a light what I should do?
or is it possible to find the mapping from my old ssis packages saved last
year(I save it into ssis when went through the import wizard.)
I don't understand what do those numbers(349)(263) mean.
thank you,
Betty
About a year ago when I upgrade our server from sql 2000 to 2005.
I created a coupld ssis packages via SQL Server 2005 Import and Export Wizard.
I remember I spent quite some time to figure out how to map data from a flat
file to sql server data table.
Now I need to do the similar thing since our table schema is changed and I
need to remap data from a flat file to the changed table. I encoutered the
similar problem but I was not able to solve it quickly this time. I am
dealing with the production issue.
The error message is something like this:
///////////////
• Error 0xc020901c: Data Flow Task: There was an error with input column
"SpouseBirthday" (349) on input "Destination Input" (263). The column status
returned was: "The value could not be converted because of a potential loss
of data.".
(SQL Server Import and Export Wizard)
• Error 0xc0209029: Data Flow Task: The "input "Destination Input" (263)"
failed because error code 0xC0209077 occurred, and the error row disposition
on "input "Destination Input" (263)" specifies failure on error. An error
occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
/////////////
I noticed that the first record of spouseBirthday from souce file is empty(
I have a lot of empty date fields in source file), while my desitnation table
require datetime field. It seems that it complains about the empty field
cannot be converted into datetime datatype. But somehow I did last year.
I just don't remember how I mapped data from source file to destination
table column by column.
Can you shed a light what I should do?
or is it possible to find the mapping from my old ssis packages saved last
year(I save it into ssis when went through the import wizard.)
I don't understand what do those numbers(349)(263) mean.
thank you,
Betty
--
Betty
Betty