dbTalk Databases Forums  

DTS file import

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


Discuss DTS file import in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
hector.caban@gmail.com
 
Posts: n/a

Default DTS file import - 04-29-2005 , 09:49 AM






Hello everyone,
I am importing a flat file using dts. I notice that if there is an
error in the file, the transactions are rolled back. I need to import
each row as a transaction in itself. How do I do that ?
For example if the There are 2000 rows and 1 row is bad then 1999 rows
should be imported. I am using a Transform Data Task. Can this be done
and how ?

Thanks,
HEctor


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS file import - 04-29-2005 , 11:03 AM






Set the insert commit size to 1. This is on the properties of the DataPump
task, last tab.

Darren Green
http://www.sqldts.com
http://www.sqlis.com

<hector.caban (AT) gmail (DOT) com> wrote

Quote:
Hello everyone,
I am importing a flat file using dts. I notice that if there is an
error in the file, the transactions are rolled back. I need to import
each row as a transaction in itself. How do I do that ?
For example if the There are 2000 rows and 1 row is bad then 1999 rows
should be imported. I am using a Transform Data Task. Can this be done
and how ?

Thanks,
HEctor




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.