Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Cancelling a Bulk Operation impact Expand / Collapse
Author
Message
Posted Thursday, September 05, 2013 6:45 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 6:48 AM
Points: 2,507, Visits: 3,645
Hi Experts,

What happens if i cancel a bulk insert operation for 1 Billions rows into a table in between?

is the effect same for queries using command BCP , BULK INSERT and INSERT INTO?


TIA
Post #1491755
Posted Friday, September 06, 2013 3:54 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 6:48 AM
Points: 2,507, Visits: 3,645
Can anyone please help?
Post #1492133
Posted Friday, September 06, 2013 1:07 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 12:20 PM
Points: 41,529, Visits: 34,445
It rolls back, same as any other data modification when stopped part way through.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1492385
Posted Saturday, September 07, 2013 1:31 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 6:48 AM
Points: 2,507, Visits: 3,645
Thanks a lot Gail.
Post #1492480
Posted Monday, September 09, 2013 7:01 AM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Monday, April 14, 2014 11:49 AM
Points: 739, Visits: 2,470
The BCP utility has a batch parameter that allows you to specify the number of records to group in a transaction. If something happens during the BCP process, only the last batch will be rolled back. If this parameter is not used the entire set will be one batch.



The SQL Guy @ blogspot

@SeanPearceSQL

About Me
Post #1492759
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse