Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching a table
Message
 
 
To
18/08/2000 12:46:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00406735
Message ID:
00406745
Views:
22
>Hi,
>I have a table that has two fields in it, 1. ssnumber 2. insurance company name (name1 or name2).
>What I'm trying to do is search the table for insurance company name1 and name2 with the same
>ssnumber. both fields are indexed. Then replease a field called both with a "B".
>
>Any ideas?
>
>Thanks

Hi John,

It's a little bit unclear what are you trying to achieve. If you'd like to eliminate duplicates, you can run simple query:
select *, count(*) as cnt_dups from yourtable group by ssnumber having cnt_dups>1

Hope this helps.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform