Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP SQL Syntax - Tuesday BrainFreeze
Message
From
11/07/2007 08:54:40
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01238981
Message ID:
01239209
Views:
9
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform