since you didnt list what type DB you are using, i assumed MYSQL.  and MYSQL
doesnt have sub SELECTs...   :(

the syntax lists  "...WHERE where_condition..."

Michael Hendsbee wrote:

> UPDATE Emails SET Sent = 'T' WHERE ID = (SELECT Emails.ID FROM Emails RIGHT
> JOIN KeyWords ON Emails.ID = KeyWords.EmailsID) LIMIT 250
> I am getting an error, and I am quite certain that it is my syntax

Leo G. Divinagracia III

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to