web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 - Change SQL Collation of the database..

(0) ShareShare
ReportReport
Posted on by

We live in a French language world and we do not want distinction between a string like "fiancé" and "fiance", we don't want to create 2 different codes that spell similar and in a search context we want to find it with or without a accent on the "e". So my only solution to resolve this problem is to change the collation of my DynamicsAX DB from Latin1_General_CI_AS to Latin1_General_CI_AI.

So thats what I did I had run this query on my DB : alter database microsoftdynamicsax collate Latin1_General_CI_AI

But I got like 3500 constraints that depends on the collation...and the only way to bypass those errors is to delete all of those constraints,change the collation of the DB, and after, re-create all of the constraints I had deleted.

here's the kind of errors I got (sorry it's in French):

Msg 5075, Niveau 16, État 1, Ligne 1
objet 'CK__RETAILSUP__RECID__001ADB9B' dépend de classement de base de données. Le classement de base de données ne peut être modifié si un objet lié au schéma dépend de lui. Supprimez les dépendances sur le classement de base de données, puis réessayez l'opération.
Msg 5075, Niveau 16, État 1, Ligne 1
objet 'CK__PROJJOURN__RECID__002334C4' dépend de classement de base de données. Le classement de base de données ne peut être modifié si un objet lié au schéma dépend de lui. Supprimez les dépendances sur le classement de base de données, puis réessayez l'opération.
Msg 5075, Niveau 16, État 1, Ligne 1
objet 'CK__INVENTCOS__RECID__00266220' dépend de classement de base de données. Le classement de base de données ne peut être modifié si un objet lié au schéma dépend de lui. Supprimez les dépendances sur le classement de base de données, puis réessayez l'opération.
Msg 5075, Niveau 16, État 1, Ligne 1
objet 'CK__PROJPERIO__RECID__0028C425' dépend de classement de base de données. Le classement de base de données ne peut être modifié si un objet lié au schéma dépend de lui. Supprimez les dépendances sur le classement de base de données, puis réessayez l'opération.
Msg 5075, Niveau 16, État 1, Ligne 1

Is there any other way to proceed to change the SQL collation of a Dynamics AX 2012 Database ??

PS. We run SQL 2008 R2

thanks

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Just to follow-up, I contacted Microsoft and the only Collation supported is CI_AS, and they didn't find a way to change it, so its impossible...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans