Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a unique index tag unless empty?
Message
From
28/03/2007 16:20:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01209419
Message ID:
01209431
Views:
14
>>>Is it possible to create an index tag on a field that would enforce unique entry in the field, unless the entry is blank (no entry)?
>>
>>INDEX ON MyField FOR NOT ISBLANK(MyField) TAG tttt CANDIDATE
>>
>>BUT such indexes can't be used in optimization.
>
>Thank you, Borislav.
>
>Are you saying that such an index will be ignored in SELECT SQL (for Rushmore)?

Yes.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform