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

Article translations Article translations
Article ID: 294420 - View products that this article applies to.
This article was previously published under Q294420
BUG #: 236456 (SHILOH_bugs)
Expand all | Collapse all

On This Page

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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Run the following code to create a table:
    create table ttext
    (
    indexcol int primary key,
    charcol char(5) NULL,
    textcol text
    
    )
  2. Publish the table you created in step 1, and then push the table to a subscriber (transactional).
  3. Use SQL Server 6.5 Bcp.exe to insert a record with a parameter -c (textcol uses a non-null value).
  4. Run logreader and the error shown in the "Symptoms" section occurs.

Properties

Article ID: 294420 - Last Review: December 17, 2004 - Revision: 4.3
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 6.5 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB294420

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com