Connecting Tech Pros Worldwide Forums | Help | Site Map

bulk insert : report row that failed

John A Grandy
Guest
 
Posts: n/a
#1: Sep 5 '08
Since I want BULK INSERT to fail on unique key violations , I set
MAXERRORS=0

But how to determine which row of the flat-file contains the duplicate ?

Apparently, ERRORFILE is not created for MAXERRORS=0


John A Grandy
Guest
 
Posts: n/a
#2: Sep 5 '08

re: bulk insert : report row that failed


Wrong forum. Mods please delete.

"John A Grandy" <johnagrandy-at-gmail-dot-comwrote in message
news:OaLk$g4DJHA.4816@TK2MSFTNGP06.phx.gbl...
Quote:
Since I want BULK INSERT to fail on unique key violations , I set
MAXERRORS=0
>
But how to determine which row of the flat-file contains the duplicate ?
>
Apparently, ERRORFILE is not created for MAXERRORS=0
>

Closed Thread