|
-
Nov 6th, 2000, 05:10 PM
#1
Thread Starter
Hyperactive Member
I want my database to by default use binary comparison, not text comparison. Anybody know how to do that?
-
Nov 7th, 2000, 05:04 AM
#2
Fanatic Member
?????
? Default IS Binary
If a module doesn't include an Option Compare statement, the default text comparison method is Binary.
Taken from the Access help file... If you remove any Option Compare statements, then it will default to Binary.
Cheers,
Paul.
Not nearly so tired now...
Haven't been around much so be gentle...
-
Nov 7th, 2000, 10:32 AM
#3
Thread Starter
Hyperactive Member
No, the default sort option for a database is General, which is not case-sensitive.
Therefore, if your primary key is text, "a" will come before "B", which is not what I want. I need my SQL statements to be in binary order. (SELECT fields FROM table ORDER BY a_binary_sorted_field
-
Nov 7th, 2000, 11:10 AM
#4
Fanatic Member
Sorry,
It was the Option Compare title that threw me. To be honest I am not sure that you can do this (I assume you are using Access). I think that you would have to brute force re-order any dataset that was returned from your SQL statements (which is a bit crappy).
Sorry again,
Paul.
Not nearly so tired now...
Haven't been around much so be gentle...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|