SQL server collation question
Doomhammer
Member Posts: 211
Hi.
I've got following problem with collation on SQL server.
in native database, code fields in primary keys are collated following way:
1,2,10,20,100,200 etc.
in SQL option, code fields in keys are collated like this:
1,10,100,2,20,200
can you help me, how to get "standard" collation on SQL server?
thanks in advance
I've got following problem with collation on SQL server.
in native database, code fields in primary keys are collated following way:
1,2,10,20,100,200 etc.
in SQL option, code fields in keys are collated like this:
1,10,100,2,20,200
can you help me, how to get "standard" collation on SQL server?
thanks in advance
Martin Bokůvka, AxiomProvis
0
Answers
-
Doomhammer wrote:Hi.
I've got following problem with collation on SQL server.
in native database, code fields in primary keys are collated following way:
1,2,10,20,100,200 etc.
in SQL option, code fields in keys are collated like this:
1,10,100,2,20,200
can you help me, how to get "standard" collation on SQL server?
thanks in advance
This IS "standard" collation on SQL (and) Native server. And, as you already saw, they are different so, you'll have to have another approach to the problems that you've got..
standard problems is filtering and one of solutions is to you "same-length" value of fields, for example:
instead of 1,2,10,20,100
use
001, 002, 010, 020, 100
try to search mibuso, there are several threads about this topic (and solutions to some of standard problems like CoA sorting)0 -
pls, can you help me to find some of topics you came up with?
i tried to search, but without success
we are migrating customer's database from 2.60 native to 4.0 SQL and this is our first SQL installation, so I am new in this problemsMartin Bokůvka, AxiomProvis0 -
Doomhammer wrote:pls, can you help me to find some of topics you came up with?
i tried to search, but without success
we are migrating customer's database from 2.60 native to 4.0 SQL and this is our first SQL installation, so I am new in this problems
http://www.mibuso.com/forum/viewtopic.p ... sql+native
http://www.mibuso.com/forum/viewtopic.p ... sql+native
http://www.mibuso.com/forum/viewtopic.p ... sql+native0 -
thanx a lot, in one of your links I found reference to SQL data type property. this helped me, I set it on Integer type in tables which were affected by this problem...
MUID: ELESMartin Bokůvka, AxiomProvis0 -
Doomhammer wrote:thanx a lot, in one of your links I found reference to SQL data type property. this helped me, I set it on Integer type in tables which were affected by this problem...
MUID: ELES
glad to be helpfull
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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