
08-31-10, 02:43
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 73
|
|
Still not sure what you're attempting to do, But try this sql out, it should update all rows where columns(b thru h) are the same on more than one row:
Code:
update abc
set h = 'I'
where ( b, c, d, e, f, g, h ) in
( select b, c, d, e, f, g, h, count(*)
from abc
group by b, c, d, e, f, g, h
having count(*) > 1 )
|
|