Upgrading check constraints

[CR #272941] When you upgrade to Adaptive Server 12.5.0.1 or later, verify constraints that were created with the following criteria. They may not have been upgraded correctly.

You see parser syntax errors after you have upgraded to Adaptive Server 12.5.0.1 and later, and when you first add data to the constrained column, or when you run dbcc upgrade_object.

To determine whether this problem occurs on your upgraded databases, run this command to check for syntax errors on your constraints and rules:

dbcc upgrade_object (dbname, rule)

Workaround: There are two workarounds to this problem: