Hi. On Tue, Oct 02, 2001 at 03:53:12PM +1000, [EMAIL PROTECTED] wrote: > Aha, much appreciated...your words "therefore the target table may not > appear in the SELECT clause" have made it clear to me...but can I assume > that if I was to use aliases, then I would be able to sneak past this > problem? :)
No. :) The reason is explained in the manual page (about INSERT) I cited. Bye, Benjamin. [...] > As is described somewhere (http://www.mysql.com/doc/R/E/REPLACE.html), > REPLACE mainly behaves like INSERT and therefore the target table may > not appear in the SELECT clause (as described here: > http://www.mysql.com/doc/I/N/INSERT_SELECT.html). [...] -- [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php