Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique Record Table
Message
De
17/07/1997 00:19:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/07/1997 00:13:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040341
Message ID:
00040361
Vues:
27
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform