all groups > sql server dts > february 2005 >
You're in the

sql server dts

group:

DTS import from xls-how to identify a particular cell


DTS import from xls-how to identify a particular cell Ajit
2/21/2005 3:51:05 AM
sql server dts:
Hi,
I wish to import data from XLS into SQL Server using DTS. However, i want
only a particular cell mapped to some column in a table in database. For
example, C(9,9) of the XLS should get mapped to Column X in Table Y.
Is it possible to do this in DTS? Or do i need to create a staging XLS or
staging table?

Re: DTS import from xls-how to identify a particular cell Allan Mitchell
2/21/2005 7:19:18 PM
Technically most things are possible.

DTS Sees data so when DTS in the DataPump task opens up an XL
Spreadsheet it can see named ranges and workbooks.

As for taking a specific cell? Hmmm, You could do it but it would have
to be a named range and that makes it a single table of 1 cell. It may
be easier to use the Excel object model to read the value of that cell
into a global variable and use that in a Query to insert into a table



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