isso funcionaria?
UPDATE tabela1
SET teste = '3333'
WHERE EXISTS (
SELECT campo1, campo2
FROM teste
WHERE datahora >= timestamp '2007-08-01 00:00:00' -
internal '6 hour'
AND campo1 = tabela1.campo1
AND campo2 = tabela1.campo2
);
- Flavio S. Glock