BUG: Distribution Agent Fails with "Column name or number of supplied values does not match table definition" Error (250623)
The information in this article applies to:
This article was previously published under Q250623
BUG #: 57002 (SQLBUG_70)
SYMPTOMS
In transactional replication, the distribution agent may fail with the following error even after you select the Use column names in SQL statements option:
213: Column name or number of supplied values does not match table definition.
The following circumstances may cause the error to occur:
- The publication is created to support heterogeneous subscribers.
- The table schema is different between publisher and subscriber.
CAUSE
In the preceding circumstances, SQL statements are being replicated to the subscriber, without using a column list in the INSERT statement, which then results in the 213 error.
WORKAROUND
Here are two ways to work around this problem:
STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug KB250623 |
---|
|