Was this page helpful?

Collation error in SQL views

    Inhaltsverzeichnis
    keine Gliederung

    Accessing tblSyncLog with union between ntadm2 and ntadm2_archive can fail with sql collation errors. Reason is that not all columns of table has the same collation.

    To avoid the problem change column of single columns to standard for all columns of table, e.g.:

    ALTER TABLE dbo.tblSyncLog 
    ALTER COLUMN Process nvarchar(200)  COLLATE SQL_Latin1_General_CP1_CI_AS
    Was this page helpful?
    Tags (Schlagworte bearbeiten)
    Um einen Kommentar zu schreiben, müssen Sie sich anmelden.
    Unterstützt von MindTouch Core