in reply to Re: cleaning up dbi code
in thread cleaning up dbi code
so i thought i'll get each row and get its value for the particular column and delete all rows in the db with that value. It's not elegant but will get teh job done.delete b.* from tbl a inner join tbl b on a.col1 = b.col1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: cleaning up dbi code
by Corion (Patriarch) on Nov 26, 2010 at 19:44 UTC | |
by Anonymous Monk on Nov 26, 2010 at 19:49 UTC | |
by Corion (Patriarch) on Nov 26, 2010 at 19:55 UTC | |
by roboticus (Chancellor) on Nov 26, 2010 at 23:09 UTC |