Groups | Blog | Home
all groups > sql server dts > march 2007 >

sql server dts : Importing from Excel


Ant
3/18/2007 7:27:00 PM
Hi, I'm a Newbie to DTS who needs to import data from an excel spreadsheet
into SQL2000.

When I use the import Wizard, the tables to be imported (sources) include
all the pages from the excel spreadsheet as expected, however an extra source
for each page is shown with the same name plus a $ sign. e.g.

Customer
Customer$
Sales
Sales$

What do I do with this extra source? Do I just ignore it or should I incude
it by ticking it?

Many thanks for any ideas on this.

Ant



EMartinez
3/21/2007 6:37:19 AM
[quoted text, click to view]

Are you using the exact same column names/mappings?

Enrique Martinez
Sr. SQL Server Developer
Ant
3/23/2007 6:48:02 PM
Hi E,

Yes, just the same column names. I worked it out though. It seems that the $
denoted columns have the data. If I exclude them, I get the schema data
structure but no data, so I just tick both cols & rename the $destination col
to the correct col name & all is well. Don't know why, but I get my data in
that way.

e.g.
col1 > col1
col1$ > col1

without col$, the table is created (if none exists) but no data imported.

Thanks
Ant



[quoted text, click to view]
AddThis Social Bookmark Button