Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP SQL Syntax - Tuesday BrainFreeze
Message
De
11/07/2007 08:54:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/07/2007 13:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01238981
Message ID:
01239209
Vues:
8
>>>Thanks all! :o)
>>>
>>Looks like Cetin's SQL is the simplest.
>>
>>It's a bit unclear what do you mean by "every distinct or unique aid record". Is aID the PK for the table?
>
>Not exaclty.
>
>If you have records like:
>
>
>AID            AAGcy
>---------------------
>1             AAAA
>1             BBBB
>1             CCCC
>
>
>With Cetin's solution you will get:
>
>AID            AAGcy     adescriptn
>------------------------------------
>1             CCCC       bla bla
>
>With mine:
>
>
>AID            AAGcy   adescriptn
>----------------------------------
>1             AAAA      bla bla
>1             BBBB      bla bla
>1             CCCC      bla bla
>
>
>So it all depends of what Tracy needs :-)

Yes and it exactly matches what she said she needed:)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform