Answered by:
Invalid data for type "numeric".

Question
-
Hi All,
We have a process in the ETL where the Ingress Data( Source ) will be loaded into our SQL Server DB ( Destination ). i am getting an error saying Invalid data for type "numeric" while loading a big table of 120 columns and 9 million Rows. So can anyone help me out on how do i find the row which is having the bad data. Please Help..!
Thanks in Advance..
Regards,
Balaji - BI Developer
Tuesday, January 5, 2016 3:12 PM
Answers
-
Hi Andy,
Thanks for the Reply. But i have been using the a Stored procedure in the ETL in which i have to load around 50 tables one by one. So we have used a stored procedure to do this. Is there any alternate to find the bad data.
Regards,
Balaji - BI Developer
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
----------------------------
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page- Proposed as answer by Ice Fan Wednesday, January 6, 2016 12:51 PM
- Marked as answer by Lydia ZhangMicrosoft contingent staff Wednesday, January 20, 2016 12:45 PM
Wednesday, January 6, 2016 10:03 AM
All replies
-
You can try configuring the package to not fail on error and writing the error output to a flat file.
See this article for an example.
Andy Tauber
Data Architect
The Vancouver Clinic
Website | LinkedIn
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.- Proposed as answer by Naomi NEditor Tuesday, January 5, 2016 4:29 PM
Tuesday, January 5, 2016 4:00 PM -
Tuesday, January 5, 2016 4:12 PMAnswerer
-
Andy
I do not think that SSIS provides a column name due to which the row is redirected,,,,,,
Best Regards,Uri Dimant SQL Server MVP, http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting: Large scale of database and data cleansing
Remote DBA Services: Improves MS SQL Database Performance
SQL Server Integration Services: Business Intelligence
Wednesday, January 6, 2016 6:39 AM -
It doesnt provide column name but it cant be captured by creating custom component using some .NET coding
see
https://naseermuhammed.wordpress.com/tips-tricks/getting-error-column-name-in-ssis/
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
----------------------------
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook PageWednesday, January 6, 2016 6:49 AM -
>>>but it cant be captured by creating custom component using some .NET coding
I think you meant it CAN be captured , do not you? :-)
Best Regards,Uri Dimant SQL Server MVP, http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting: Large scale of database and data cleansing
Remote DBA Services: Improves MS SQL Database Performance
SQL Server Integration Services: Business Intelligence
Wednesday, January 6, 2016 7:25 AM -
Hi Andy,
Thanks for the Reply. But i have been using the a Stored procedure in the ETL in which i have to load around 50 tables one by one. So we have used a stored procedure to do this. Is there any alternate to find the bad data.
Regards,
Balaji - BI Developer
Wednesday, January 6, 2016 9:18 AM -
>>>but it cant be captured by creating custom component using some .NET coding
I think you meant it CAN be captured , do not you? :-)
Best Regards,Uri Dimant SQL Server MVP, http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting: Large scale of database and data cleansing
Remote DBA Services: Improves MS SQL Database Performance
SQL Server Integration Services: Business Intelligence
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
----------------------------
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook PageWednesday, January 6, 2016 10:02 AM -
Hi Andy,
Thanks for the Reply. But i have been using the a Stored procedure in the ETL in which i have to load around 50 tables one by one. So we have used a stored procedure to do this. Is there any alternate to find the bad data.
Regards,
Balaji - BI Developer
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
----------------------------
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page- Proposed as answer by Ice Fan Wednesday, January 6, 2016 12:51 PM
- Marked as answer by Lydia ZhangMicrosoft contingent staff Wednesday, January 20, 2016 12:45 PM
Wednesday, January 6, 2016 10:03 AM