A
Andrew Butchart
I have had some problems with a web site that I am working on. The
DBA set up all of the tables using the default collation sequence of
SQL_Latin1_General_CP1_CI_AS HOWEVER, the recordset that is being
returned is "out of order" according to my ASP code. For example, ASP
believes that the string "6\" is greater than "6001001" whereas SQL
returns the "6\" record first.
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
(e-mail address removed)
DBA set up all of the tables using the default collation sequence of
SQL_Latin1_General_CP1_CI_AS HOWEVER, the recordset that is being
returned is "out of order" according to my ASP code. For example, ASP
believes that the string "6\" is greater than "6001001" whereas SQL
returns the "6\" record first.
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
(e-mail address removed)