FIX: Error message when you try to add articles to a publication that uses an Oracle Database 11g database as the publisher in SQL Server 2008: "Constraint column '<ColumnName>' not found in table '<TableName>'"

Article translations Article translations
Article ID: 959785 - View products that this article applies to.
Bug: #50003796 (SQL Hotfix)
Bug #: 50003792 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2008 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release.
Expand all | Collapse all

SYMPTOMS

In Microsoft SQL Server 2008, you configure an Oracle database as the publisher for a publication. When you upgrade the Oracle database to Oracle Database 11g, you notice that no columns are displayed in the table objects of the publication when you view the tables in SQL Server Management Studio. Additionally, no columns are displayed in the table objects that appear on the Data Type Mapping tab of the Article Properties dialog box. When you create a new publication that uses the Oracle database as the publisher, and then you try to add articles to the publication, you receive an error message that resembles the following:
Constraint column '<ColumnName>' not found in table '<TableName>'.

CAUSE

This issue occurs because Oracle publishing previously did not support Oracle 11g as a publisher. No version specific mapping tables were defined for Oracle 11g in the msdb database. Therefore, Oracle 11g databases could not be Oracle publishers.

RESOLUTION

The fix for this issue was first released in Cumulative Update 2. For more information about how to obtain this cumulative update package for SQL Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:
958186 Cumulative update package 2 for SQL Server 2008
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
956909 The SQL Server 2008 builds that were released after SQL Server 2008 was released

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This hotfix enables Oracle 11g support for Oracle publishing. The required version specific mapping tables to support Oracle Database 11g are added to the msdb database when you install this hotfix. Additionally, this hotfix modifies the Oracle publishing snapshot agent for use with Oracle 11g client code.

For more information about what files are changed, and for information about any prerequisites to apply the cumulative update package that contains the hotfix that is described in this Microsoft Knowledge Base article, click the following article number to view the article in the Microsoft Knowledge Base:
958186 Cumulative update package 2 for SQL Server 2008

REFERENCES

For more information about the list of builds that are available after the release of SQL Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:
956909 The SQL Server 2008 builds that were released after SQL Server 2008 was released
For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Properties

Article ID: 959785 - Last Review: November 18, 2008 - Revision: 1.1
APPLIES TO
  • Microsoft SQL Server 2008 Workgroup
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Standard
Keywords: 
kbexpertiseadvanced kbqfe kbfix KB959785

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