Microsoft KB Archive/294420

= FIX: Logreader fails to select text data that is inserted by SQL Server 6.5 Bcp utility =

Article ID: 294420

Article Last Modified on 12/17/2004

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition
 * Microsoft SQL Server 6.5 Standard Edition

-



This article was previously published under Q294420



BUG #: 236456 (SHILOH_bugs)



SYMPTOMS
If you use the Microsoft SQL Server 6.5 Bcp.exe utility to insert records into a table in SQL Server 2000 that has at least one nullable CHAR(n) column (where n>1) before a TEXT column, the logreader may fail to read it and the following error message occurs:

The process could not execute 'sp_replcmds' on 'xxxx' Status: 0, code: 18773, text: 'Could not locate text information records for column 3 during command construction.'.



RESOLUTION
To 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 How to obtain the latest SQL Server 2000 service pack



STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.



Steps to Reproduce Behavior
  Run the following code to create a table: create table ttext ( indexcol int primary key, charcol char(5) NULL, textcol text

)  Publish the table you created in step 1, and then push the table to a subscriber (transactional). Use SQL Server 6.5 Bcp.exe to insert a record with a parameter -c (textcol uses a non-null value). Run logreader and the error shown in the &quot;Symptoms&quot; section occurs.

Additional query words: replication replicate

Keywords: kbbug kbfix kbsqlserv2000sp1fix KB294420

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.