March 3, 2008 at 7:30 am
We are using SSIS to import about 40000 records of data into a relation SQL Server 2005 database.
One field contains numbers, some are right aligned, and some are left aligned. SSIS is reading in a NULL for the right aligned cells, even after aligning the left like the others and trying again????
Any suggestion?
March 3, 2008 at 8:17 pm
Could you post some sample data in the format you are loading from, the table schema you loading it into, and the settings of your package?
I have never seen this problem, but with some data I could see if I can duplicate it and solve it.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 4, 2008 at 8:15 am
I solved it...
SSIS takes a look at the frist 8 records guess at the data type. Anything that doesn't fall into their guess is considered null.
Solution set IMEX=1 in your conenction.
March 4, 2008 at 8:20 am
Thanks for posting the solution. So many times someone posts a question, solves it, and leaves us all hanging.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
March 4, 2008 at 8:26 am
I hear ya brother... its the easy way out... then the next guys looking for the answer and can't find it
😀
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply