When sorting text columns the native database will sort letters then numbers. The SQL version reverses this sort or places numbers before letters.
When using the SQL version I've been able to get the native behavior by using Navision's temporary tables. The are created on the client and behave the same in either database.
My current problem is I have a native database and need to sort a text column like SQL does. Any thought?
There are no bugs - only undocumented features.
0
Answers
I have used the approach you mention to get around the Code vs. Varchar behavior.
This issue is with Text fields. Create a table where the primary key is a text field. Try it in both native and SQL.
Navision (Native) gives them:
WHLASH
WH0003
WH9205
Navision SQL gives: (What they want)
WH0003
WH9205
WHLASH
That would result in: (not what is needed)
Navision (Native) gives them:
WH9205
WH0003
WHLASH
Navision SQL gives: (What they want)
WHLASH
WH9205
WH0003
Thanks for the responses. The search continues....