Two rows with the same id? Not a good design; each row should have a
unique id (primary key).
But to answer your question, RDBMS's won't allow you to update the same
table in a trigger. This could, for instance, lead to a loop updating
rows (Update to row 1 triggers an update to row 2 which triggers an
update to row 3 which triggers an update to row 1...).
Additionally, the same value in multiple rows which must be kept in sync
is a violation of normalization rules and can cause all kinds of
problems (i.e. LOAD TABLE doesn't run triggers).
The correct solution is a second table containing the value; a column in
the first table has a foreign key to the second one. Both row 1's in
this case would point at the same row in the second table, so when the
second table is updated, both rows in the first table contain the same
information.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================