Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identifying dupes - interesting problem
Message
From
22/02/2000 13:32:25
 
 
To
22/02/2000 00:04:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00335211
Message ID:
00335497
Views:
18
>To find duplicates by address:
>
>select PrimaryKey, Address, count(*) as MyCount from MyTable group by Address
>
>If MyCount is > 1... duplicates. To add the condition on dates, write a UDF that returns the number of the week from
>a date (based on your conditions) and select a new column beased on this new UDF and add this column to the GROUP BY clause.
>
>Vlad

How about WEEK()?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform