Skip to end of banner
Go to start of banner

Collation Sequences

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Background

A collation sequence is a database setting that controls how string values are ordered.

In Synergetic V67 and all prior versions the collation sequence was required to be the SQL collation 'SQL_Latin1_General_CP1_CI_AS'.  The SQL server must have been installed with that specific collation sequence and that determined the collation sequence of the master and temp databases of that SQL Server instance.

This caused the following limitations at a client organisation:

  • The Synergetic databases had to be installed on a SQL instance configured with the specific SQL collation sequence required by Synergetic.
  • If the host SQL Server instance was installed with a different collation sequence the instance could not be used and had to be reinstalled.
  • The client organisation could not change to an accent insensitive collation sequence to change search functionality.

Alongside these limitations, it seems that SQL_ collation sequences are no longer being updated and will eventually be phased out in favour of Windows collation sequences.  Some of the newer Unicode characters are not in the SQL collation but do exist in Windows ones. 

Changes in V68

To remove these limitations and future proof Synergetic for potential changes to collation sequence support, changes have been made to support different collation sequences.

In V68, the collation sequence of the Synergetic database can be changed to any Case Insensitive (CI) collation sequence and is also permitted to be different to the collation sequence of the SQL Server instance.

By default, the Synergetic database in V68 will be changed to the Windows collation sequence Latin1_General_CI_AS 

For most client organisations this change will be invisible.  If the organisation has created user triggers or user stored procedures that use the temp DB and the Synergetic database uses a different collation sequence to temp DB, they may have to change that user code.

SQL Code across databases with different collation sequences

 

 

 

 

  • No labels