dbTalk Databases Forums  

DTS excel mapping

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


Discuss DTS excel mapping in the microsoft.public.sqlserver.dts forum.



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

Default DTS excel mapping - 02-03-2006 , 09:11 AM






Hi
I have an excel spreadsheet that has 6000 records hardcoded values and the
rest are dynamic links to another spreadsheet that update automatically.
I used import/export wizard to create a DTS package to import data from this
spreadsheet into a table in sql server that has not null constraints on it.

The first 6000 records load fine but at 6001 it says that there are nulls in
the records and fails to load.

Can you suggest a way by which both the hardocoded values and the dynamic
links can be loaded.

Thanks
Bob

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

Default Re: DTS excel mapping - 02-03-2006 , 09:21 AM






Hello Bob,

I don't know for sure but i cannot imagine that this will be possible without
using the Excel Object model.

Allan



Quote:
Hi
I have an excel spreadsheet that has 6000 records hardcoded values and
the
rest are dynamic links to another spreadsheet that update
automatically.
I used import/export wizard to create a DTS package to import data
from this
spreadsheet into a table in sql server that has not null constraints
on it.
The first 6000 records load fine but at 6001 it says that there are
nulls in the records and fails to load.

Can you suggest a way by which both the hardocoded values and the
dynamic links can be loaded.

Thanks
Bob



Reply With Quote
  #3  
Old   
Bob
 
Posts: n/a

Default Re: DTS excel mapping - 02-03-2006 , 11:02 AM



Allan
I was able to load the dynamic links and hardcode values independently put
in two separate files.
What is the object model and how can I use it.

Bob

"Allan Mitchell" wrote:

Quote:
Hello Bob,

I don't know for sure but i cannot imagine that this will be possible without
using the Excel Object model.

Allan



Hi
I have an excel spreadsheet that has 6000 records hardcoded values and
the
rest are dynamic links to another spreadsheet that update
automatically.
I used import/export wizard to create a DTS package to import data
from this
spreadsheet into a table in sql server that has not null constraints
on it.
The first 6000 records load fine but at 6001 it says that there are
nulls in the records and fails to load.

Can you suggest a way by which both the hardocoded values and the
dynamic links can be loaded.

Thanks
Bob




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

Default Re: DTS excel mapping - 02-03-2006 , 11:09 AM



Hello Bob,


Ahhh so when you say it has NULLs are you seeing then this behaviour

http://www.sqldts.com/default.aspx?254

Allan

Quote:
Allan
I was able to load the dynamic links and hardcode values
independently put
in two separate files.
What is the object model and how can I use it.
Bob

"Allan Mitchell" wrote:

Hello Bob,

I don't know for sure but i cannot imagine that this will be possible
without using the Excel Object model.

Allan

Hi
I have an excel spreadsheet that has 6000 records hardcoded values
and
the
rest are dynamic links to another spreadsheet that update
automatically.
I used import/export wizard to create a DTS package to import data
from this
spreadsheet into a table in sql server that has not null constraints
on it.
The first 6000 records load fine but at 6001 it says that there are
nulls in the records and fails to load.
Can you suggest a way by which both the hardocoded values and the
dynamic links can be loaded.

Thanks
Bob



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.