Unix Technical Forum

Sort order

This is a discussion on Sort order within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I have a column in table (primary key) which has 2 rows: 'AAAA' '~~~' in MMSQL 7.0 when i ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:45 PM
=?Utf-8?B?SHVuZyBMZQ==?=
 
Posts: n/a
Default Sort order

I have a column in table (primary key) which has 2 rows:
'AAAA'
'~~~' in MMSQL 7.0 when i use select * from the table order by .... the
query result will be
'AAAA'
'~~~~'
but when I converted the database to SQL 2000 the result will return
'~~~~'
'AAAAA'.
I tried to change collations and sort order but no luck.

in SQL 7.0 when I type in sp_helpsort the Query return:
Character set = 1, iso_1
ISO 8859-1(Latin01) - Western European 8 - bit
character set.
Sort Order = 50, bin_ISO 8859-1 (Latin 1) character set characters, in order
Can anyone tell me how to correct the problem ?

Thanks

Hungle

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:55 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com