multiplex77
Programmer
Hi,
I'm trying to import data from an Excel 2000 spreadsheet to SQL 2000 table via DTS. But there seems to be one cell (a varchar(20), value: 1400) which always ends up as a NULL in the SQL2K table.
I've tried Format Cell and changing that cell format to Text, but it still remains as NULL on import. But if I add a letter, eg "1400A", to the cell value in the Excel file, it imports fine. Once I delete the "A", it imports as NULL again. SO it seems it can't import numbers, but can import alphanumerics. But all the other rows (which contain numbers) import fine.
What can I do to resolve this? I have to use the Excel file cos I've already given it to my client as an intermediate document.
I tried converting the Excel file to a Tab delimited .txt file, but somehow DTS can't seem to read the Tab delimited .txt properly - the columns don't line up properly.
Thanks for the help.
I'm trying to import data from an Excel 2000 spreadsheet to SQL 2000 table via DTS. But there seems to be one cell (a varchar(20), value: 1400) which always ends up as a NULL in the SQL2K table.
I've tried Format Cell and changing that cell format to Text, but it still remains as NULL on import. But if I add a letter, eg "1400A", to the cell value in the Excel file, it imports fine. Once I delete the "A", it imports as NULL again. SO it seems it can't import numbers, but can import alphanumerics. But all the other rows (which contain numbers) import fine.
What can I do to resolve this? I have to use the Excel file cos I've already given it to my client as an intermediate document.
I tried converting the Excel file to a Tab delimited .txt file, but somehow DTS can't seem to read the Tab delimited .txt properly - the columns don't line up properly.
Thanks for the help.