Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where does it make sense to use BINARY index option
Message
From
25/08/2005 09:08:58
 
 
To
25/08/2005 09:01:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01043681
Message ID:
01043819
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>Tore,
>
>>>Does your explanation mean that BINARY indexed fields can't participate in WHERE X = Y type SQL join conditions, only WHERE X conditions?
>>
>>Yes, that's correct.
>
>Thanks for your help and patience. I understand BINARY indexes now.
>
>Malcolm

Verify it here
clear
ON ERROR
CREATE CURSOR testBinary (aa i NOT NULL)
INDEX ON EMPTY(aa) TAG bitmap BINARY
SYS(3054,12)

SELECT * FROM testBinary t1 WHERE EMPTY(aa) INTO ARRAY ZZ
?
SELECT * FROM testBinary t1 HAVING EMPTY(aa) INTO ARRAY ZZ
?
SELECT * FROM testBinary t1 JOIN testBinary t2 ON EMPTY(t1.aa) AND EMPTY(t2.aa) INTO ARRAY ZZ
?
SELECT * FROM testBinary t1 FULL JOIN testBinary t2 ON EMPTY(t1.aa) AND EMPTY(t2.aa) INTO ARRAY ZZ
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform