CONVERT_VARCHAR_TO_1242 Option

Converts pre-version 12.4.2 VARCHAR data to compressed format.

Allowed Values

ON, OFF

Default

OFF

Scope

Option can be set at the database (PUBLIC) or user level. When set at the database level, the value becomes the default for any new user, but has no impact on existing users. When set at the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.

Requires the SET ANY PUBLIC OPTION system privilege to set this option. Takes effect when you run sp_iqcheckdb in any mode.

Remarks

Helps further compress data and improve performance, especially for databases with many variable character strings.

Set this option and then run sp_iqcheckdb only once, and only for VARCHAR columns that were created before version 12.4.2.