KB4494805 - FIX: Adding new Publication may fail if distribution database is in AG and collation is set to BIN in SQL Server 2016 and 2017

Work anywhere from any device with Microsoft 365

Upgrade to Microsoft 365 to work anywhere with the latest features and updates.

Upgrade now

Symptoms

Consider the following scenario:

  • You use Microsoft SQL Server 2016 or 2017 for publisher, distributor and subscriber.

  • The Distribution database is part of an Availability Group (AG).

  • You add new Publication to the Distribution database in the AG.

  • The collation is set to BIN or case-sensitive.

In this situation, the publication may fail with an error message that resembles the following:

Error 4104, Level 16, State 1, Procedure ProcedureName, Line LineNumber

The multi-part identifier "s.job_id" could not be bound.

Status

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

Resolution

This issue is fixed in the following cumulative updates for SQL Server:

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×