Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Duplicates
Message
From
04/05/2010 09:12:01
 
 
To
04/05/2010 08:50:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01462570
Message ID:
01462998
Views:
43
In general you should avoid using Select *, instead you should list all the fields you really need. And to use the Distinct keyword, you will as good as always need to list the fields anyway.

>Oh..well..prior to posting i was playing around with select Distinct. if i did select distinct mytable.name it would work fine. but if i did select distinct * from mytable it would tell me " Operation is invalid memo, blog,general or picture file, and when I clicked on help for the error is says an index command cannnot specify a memo or blob key expression and something else about unions
>>
>>DISTINCT has nothing to do with indexes (other than using them to speed up the selection process). It reduces the record set so that there are no duplicate records for the entire field list.
Previous
Reply
Map
View

Click here to load this message in the networking platform