Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique Record Table
Message
De
17/07/1997 00:26:37
 
 
À
17/07/1997 00:19:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040341
Message ID:
00040364
Vues:
28
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform