Article ID: 281409 - Last Review: October 17, 2003 - Revision: 3.2 FIX: BULK INSERT Fails with BATCHSIZE=1, FIRE_TRIGGERS, and TABLOCKThis article was previously published under Q281409
BUG #: 351227 (SHILOH_bugs)
SYMPTOMS
Running a BULK INSERT statement with the following parameters may cause an access violation:
BATCHSIZE = 1, FIRE_TRIGGERS, TABLOCK Running the statement in the SQL Server Query Analyzer gives the following result: ODBC: Msg 0, Level 19, State SqlDumpExceptionHandler: Process 51 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process. Server: Msg 1203, Level 20, State 1, Procedure t_ins, Line 5 Process ID 51 attempting to unlock unowned resource TAB: 10:386100416 []. ODBC: Msg 0, Level 16, State 1 Communication link failure ODBC: Msg 0, Level 16, State 1 Communication link failure RESOLUTIONTo resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this problem, use any one of these methods:
STATUSMicrosoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1. MORE INFORMATION
To reproduce the problem, run the following statements in the SQL Server Query Analyzer:
| Article Translations
|

Back to the top
