How to solve SQL collation problem?

bastir
Member Posts: 27
Hi,
I've developed a german solution in SQL database with SQL collation 52
(Western-European dictionary sort order, code page 1252, case-insensitive, accent-sensitive (52))
Now we have a international customer that needs SQL databaes with collation 82
(Latin-1 dictionary sort order, code page 1250, case-insensitive, accent-sensitive (82))
I tried to make a navision backup of the original database and imported it into the new database, everything was fine.
But when I tried to make a backup of the new database I got several errors:
Error 1190 in Modul 19
Furthermore the message tells me the table and the appropriate Key's.
When I look into the data of these tables I can see german umlaut/characters.
If I delete all of these values in the table the system goes on until it finds the next table with problems.
What did I wrong? Can anybody give me a solution how to deal tih these collation problems?
Thanks in advance
Sebastian
I've developed a german solution in SQL database with SQL collation 52
(Western-European dictionary sort order, code page 1252, case-insensitive, accent-sensitive (52))
Now we have a international customer that needs SQL databaes with collation 82
(Latin-1 dictionary sort order, code page 1250, case-insensitive, accent-sensitive (82))
I tried to make a navision backup of the original database and imported it into the new database, everything was fine.
But when I tried to make a backup of the new database I got several errors:
Error 1190 in Modul 19
Furthermore the message tells me the table and the appropriate Key's.
When I look into the data of these tables I can see german umlaut/characters.
If I delete all of these values in the table the system goes on until it finds the next table with problems.
What did I wrong? Can anybody give me a solution how to deal tih these collation problems?
Thanks in advance
Sebastian
0
Comments
-
In each case you need to have correct setting for non-unicode applications in the local settings of your windows. Before you restore the DB into DB with collation 82, you need to switch the language to English. After restore you can switch back.0
-
[Topic moved from 'NAV 2009' forum to 'SQL General' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
kine wrote:In each case you need to have correct setting for non-unicode applications in the local settings of your windows. Before you restore the DB into DB with collation 82, you need to switch the language to English. After restore you can switch back.
Do I've to change only before the restore?
I changed to EN-US before export and still get the same errors :-(
Best regards
Sebastian0 -
Main thing is that the language must be in line with collation with which you are working. But still, if there are characters in one DB, which doesn't exist in the second codepage, they will be mis-converted.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions