Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Record Table
Message
From
17/07/1997 00:26:37
 
 
To
17/07/1997 00:19:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00040341
Message ID:
00040364
Views:
30
Yeah, but maybe it's not the case... :) I don't know too much about the real problem, so I gave 2 solutions. If one solution is good or not depends on the problem. :)

Vlad

>>Why a pifall?
>>
>>Vlad
>>
>>>>Use SELECT SQL with UNION clause (it eliminates duplicates) or append everything in one table and index it UNIQUE.
>>>>
>>>>Vlad
>>>
>>>
>>>UNION is ok but appending than indexing unique is a PITFALL !
>>>Cetin
>
>First, physically you'll have all duplicates and see them unique only setting order. But the second and important, any table can have many fields with different data types. To get the result you should build an expression that would set them all to the same type, if you are gonna do it next comes, the resulting expression would be likely out of limits of key expression capacities (which is 240 for compact indexes for now - you don't have much chance to fit the index).
>Cetin
Previous
Reply
Map
View

Click here to load this message in the networking platform