Database Compatibility and Replication

Our production databases and replication databases are running on SQL Server 2008. Recently a table column type is changed from VARCAHR(100) to VARCHAR(MAX). Replication failed showing the following error:

Column OtherInformation in object rAccounts contains type VarCharMax, which is not supported in the target server version, SQL Server 2000.

It is found that the DB compatibility level was set at 80 on all databases; it was modified to compatibility level 100 using the command:

EXEC sp_dbcmptlevel ‘CollectLive’, 100;

The replication is re-initialized, and it worked.

Advertisements

One thought on “Database Compatibility and Replication

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s