![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We have a Nightly Job, A sp which has an RPC call for getting the data and Inserts into table A.it runs fine but ocassionly sometimes Job fails becos of Primary key violation. So my system has data as of Yesterdays not of latest. But I read some where its possible to Insert all the records except the error out record through DTS. Can any body throw some light on it.. Thanks in Advance Raj |
#3
| |||
| |||
|
|
-----Original Message----- A Primary key violation will abort the batch but you may want to look at this Multiphase Data Pump (Field Notes) (http://www.sqldts.com/default.aspx?282,1) -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Raj" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:74db01c40217$74516050$a101280a (AT) phx (DOT) gbl... We have a Nightly Job, A sp which has an RPC call for getting the data and Inserts into table A.it runs fine but ocassionly sometimes Job fails becos of Primary key violation. So my system has data as of Yesterdays not of latest. But I read some where its possible to Insert all the records except the error out record through DTS. Can any body throw some light on it.. Thanks in Advance Raj . |
![]() |
| Thread Tools | |
| Display Modes | |
| |