Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique
Message
De
01/03/2002 12:12:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Unique
Divers
Thread ID:
00627032
Message ID:
00627047
Vues:
10
>I have a file that has several duplicate name in the file. I remembered you could index the file with a command like INDEX on Contact_name to t Unique.Which would index all records on the field Contact_name. But how do I extract/copy the unique records out of the file?

Unique 'records' could be 'select distinct *...'
Unique contact names 'select distinct contact_name...'

Indexing with unique only gets first occurence of its index expression.

*Index on Contact_name tag U_Contact unique
set order to tag U_Contact
copy to SomeWhere

Note that this is different from SQL distinct.
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