Setting Unique
Ed Kleban
Ed at Kleban.com
Sun Nov 20 01:58:05 CST 2005
>>>> But what happens if you set the unique flag, and the table gets indexed,
>>>> but
>>>> it turns out the value really aren't unique?
>>>
>>> Valentina refuse add such record.
>>
>> I'm not sure what that means. If you have already added all the records and
>> then enable the unique flag, what happens?
>
> Ah, I see
>
>> Does Valentina refuse to set the unique flag?
>
> YES. It will try to build index and fail,
> And set OFF flag again
>
Ah, good. So I can either look for an error being thrown, and/or test the
state of the Unique flag after setting it.
Great.
More information about the Valentina
mailing list