Is there any way to set the default comparison between string values
in ASP to match the order that SQL is returning, or can I update my
query to give me a collation sequence that ASP will like? Changing
the collation sequence in the database isn't a viable option.
Thanks
Andrew Butchar
and...@floatingbear.ca
You should be able to use a binary collation to get SQL Server to work like
your ASP
SELECT col1
FROM (
SELECT '6\' COLLATE Latin1_General_BIN AS Col1
UNION ALL SELECT '6001001' ) A
order by col1
To do the opposite in your ASP code I think you would have to write a
function that does character by character comparisons.
John
"Andrew Butchart" <and...@floatingbear.ca> wrote in message
news:6d5df73f.05031...@posting.google.com...
Many thanks John
Andrew Butchart
and...@floatingbear.ca
"John Bell" <jbellne...@hotmail.com> wrote in message news:<eVmuvONL...@tk2msftngp13.phx.gbl>...