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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete multiple rows

Status
Not open for further replies.

mici

Programmer
Jun 2, 2003
36
0
0
IL
i would like to write a statement who finds all the multiple rows in a field.
(the opposite of distinct)
I need to delete all the extra rows, that the data will show only once
ex: (the extra dog and caw will be deleted)

cat cat
dog dog
dog frog
frog caw
caw
caw
 
Do you have a primary key to work with? Tell us some more about your table structure.
-Karl

[red] Cursors, triggers, user-defined functions and dynamic SQL are an axis of evil![/red]
[green]Life's uncertain...eat dessert first...www.deerfieldbakery.com[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top