Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rmove duplicate contents

Status
Not open for further replies.

gatetec

MIS
Joined
Mar 22, 2007
Messages
420
Location
US
A table (IntakeCom) has duplicate contents as below.

clientno reason
564 Lack of Support, Emotional Problems
564 Lack of Support, Lack of Support
564 Lack of Support, Physical Impairment
564 Lack of Support, Poor Living Condition
564 Lack of Support, Poor Personal Hygien
.....

How do you remove those duplicate contents so that it shows as below?

564 Lack of Support, Emotional Problems, Physical Impairment, Poor Living Condition, Poor Personal Hygien

thx so much
 
Have a look here:
faq701-4233

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
I ran it, and now I see the dup contents in each record.
Obviously, it removed dup rows, but the dup contents are there.

clientno reason
415 Lack of Support, Lack of Support
416 Lack of Support, Lack of Support
418 Lack of Support, Lack of Support
420 Lack of Support, Lack of Support
421 Emotional Problems, Emotional Problems, Emotional Problems, Lack of Support
422 Emotional Problems, Emotional Problems, Emotional Problems, Lack of Support

Please advise.
 
Have a look at the DISTINCT predicate.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top