SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


excel preview showing integer values null in a alphanumeric column


excel preview showing integer values null in a alphanumeric column

Author
Message
hi.shobhit76
hi.shobhit76
SSC-Enthusiastic
SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

Group: General Forum Members
Points: 130 Visits: 15
Hi,

When i load my excel sheet onto a connection manager in an excel source and preview the data present in my excel sheet then i get integer values shown as NULL in the preview.

The column is an alphanumeric column which has data in the form of text. But on some of the column cells the value is an integer which should be read as varchar() but instead the preview of the sheet shows me NULL for those records. I have already tried changing the format of the excel sheet cells as general and other combination but it didn't work. This is also true vice` versa e.g when the data is numeric in initial cells then alphanumeric values is shown NULL.

Is there any solution to this problem ? Please help it is creating a lot of problems for me.

Also provide alternative solutions if this cannot be worked out.

Thanks for the help.

Shobhit Bansal
CozyRoc
CozyRoc
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12618 Visits: 2235
hi.shobhit76 (6/25/2009)
Hi,

When i load my excel sheet onto a connection manager in an excel source and preview the data present in my excel sheet then i get integer values shown as NULL in the preview.

The column is an alphanumeric column which has data in the form of text. But on some of the column cells the value is an integer which should be read as varchar() but instead the preview of the sheet shows me NULL for those records. I have already tried changing the format of the excel sheet cells as general and other combination but it didn't work. This is also true vice` versa e.g when the data is numeric in initial cells then alphanumeric values is shown NULL.

Is there any solution to this problem ? Please help it is creating a lot of problems for me.

Also provide alternative solutions if this cannot be worked out.

Thanks for the help.

Shobhit Bansal


This is well known issue with the Jet Excel driver. Check this discussion for possible resolutions.

---
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/


hi.shobhit76
hi.shobhit76
SSC-Enthusiastic
SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)SSC-Enthusiastic (130 reputation)

Group: General Forum Members
Points: 130 Visits: 15
hi CozyRoc,

I did what has been told in the discussion which you forwarded to me but that didn't solve my problem.

I am using Microsoft Office Excel 2003 (11.5612.5606) , And i am using SSIS not DTS ,

Please help !!!!

Thanks

Shobhit
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