dbTalk Databases Forums  

DTS Import issue with .XLS documents

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Import issue with .XLS documents in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default DTS Import issue with .XLS documents - 04-25-2006 , 07:15 PM






Hello -

My apologies if this has been posted on before, but in my searching
around this evening I was unable to find anything even closely related.

I am attempting to import an excel 97/2000 .xls file into a SQL
database that has 1 particular field in the table of the DB that is not
nullable. I have verified that these cells (which are going to be going
into this nullable field) are in fact populated with data, but upon
attempting to run my import - it errors out (claiming that there are
nulls in those cells/fields).

Upon further inspection I did find that the preview has revealed of the
top 100 entries - some of those cells are in fact not showing the data
that is in them.

I've tried going into the Excel file and resetting the format of the
cells from "General" to "Text" and back again - but for whatever resaon
- these same fields still show up blank in the preview of the DTS
package (and thus stalls the import).

Is this an Excel problem? I have not tried a .CSV or other format of
text yet (and would prefer not to if possible).

Thanks in advance for any help you could shed on this problem.


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Import issue with .XLS documents - 04-25-2006 , 07:35 PM






Hello rwyarger (AT) hotmail (DOT) com,


Sounds as though you may be running into this issue


www.sqldts.com/default.aspx?254

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hello -

My apologies if this has been posted on before, but in my searching
around this evening I was unable to find anything even closely
related.

I am attempting to import an excel 97/2000 .xls file into a SQL
database that has 1 particular field in the table of the DB that is
not nullable. I have verified that these cells (which are going to be
going into this nullable field) are in fact populated with data, but
upon attempting to run my import - it errors out (claiming that there
are nulls in those cells/fields).

Upon further inspection I did find that the preview has revealed of
the top 100 entries - some of those cells are in fact not showing the
data that is in them.

I've tried going into the Excel file and resetting the format of the
cells from "General" to "Text" and back again - but for whatever
resaon - these same fields still show up blank in the preview of the
DTS package (and thus stalls the import).

Is this an Excel problem? I have not tried a .CSV or other format of
text yet (and would prefer not to if possible).

Thanks in advance for any help you could shed on this problem.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.