dbTalk Databases Forums  

Does DTS fast-load damage Destination table if it fails?

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


Discuss Does DTS fast-load damage Destination table if it fails? in the microsoft.public.sqlserver.dts forum.



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

Default Does DTS fast-load damage Destination table if it fails? - 11-11-2004 , 11:44 AM






I have inherited several DTS packages that fast-load text files into Sql
Server tables. When such steps run, EM indicates that Bulk Load" is running.
There was a time when a failed bcp "bulk load" would leave a table in an
unhappy state because it was being minimally-logged. I wonder if DTS uses
this method?

I want to avoid damaging the destination tables and only want to load a file
if it is error-free. Otherwise, rollback all inserts. Like one big
transaction. What settings will force this kind of behavior?

Thanks,

Michael

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

Default Re: Does DTS fast-load damage Destination table if it fails? - 11-11-2004 , 02:19 PM






I do not see a problem with BULK INSERTing data into a table and it failing.
The transaction should be atomic.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Snake" <Snake (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have inherited several DTS packages that fast-load text files into Sql
Server tables. When such steps run, EM indicates that Bulk Load" is
running.
There was a time when a failed bcp "bulk load" would leave a table in an
unhappy state because it was being minimally-logged. I wonder if DTS uses
this method?

I want to avoid damaging the destination tables and only want to load a
file
if it is error-free. Otherwise, rollback all inserts. Like one big
transaction. What settings will force this kind of behavior?

Thanks,

Michael



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.