On Mon, 2007-11-05 at 17:18 -0500, Tom Hart wrote: > UPDATE table SET is_ok = 'TRUE' WHERE var1 = value1 AND var2 = value2 > AND var3 = value3..... As others have said, you need to narrow the problem down a bit more before we can provide useful help. However, a wild guess might be that some of your fields contain NULLs. In SQL, NULL=NULL is _not_ true (more specifically, it is NULL). To see what I mean, do "SELECT 1 WHERE NULL=NULL", it will return 0 rows. Regards, Jeff Davis ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq