nlssort strange behaviour (bug?)
Date: 9 Nov 2002 04:32:56 -0800
Message-ID: <9003d46f.0211090432.66112baa_at_posting.google.com>
Greetings,
I run a 8.1.7. database with the following settings:
nls_lang=HUNGARIAN nls_sort=HUNGARIAN nls_comp=ANSI
The correct alphabetical order in the Hungarian language is A,Ã,B,.... and for basic queries Oracle knows it, I can verify it using queries like "select * from dual where 'A'>'Ã'" which gives no results and with 'B'>'Ã' which results in an X. So far so good. The same query with 'BÃ'>'BA' results in an X which is good. 'BÃ'>'BAC' gives no results, which is bad, since à is the second character in the string, while C is the third, according to how I order strings Bà would come later than BAC. If I check nlssort('BÃ','NLS_SORT=HUNGARIAN') and nlssort('BAC','NLS_SORT=HUNGARIAN'), the second is greater, I think that is what causes this misbehaviour.
Do I know something wrong or is this a bug which may have been corrected already?
Any answers are highly appreciated, please cc it to hegyvari_at_ardents.hu.
Regards,
Hegyvari Krisztian Received on Sat Nov 09 2002 - 13:32:56 CET