On Wednesday 22 January 2003 21:10, Norris Joseph wrote:
> Hello,
>
> I have the following in my SQL:
>
> update call_center set call_center.who_for_id = activeemployees.hr_emp_no
> where call_center.who_for_id = activeemployees.id;
>
>
> This is something I think that I should be able to do, but I get an error.
>
> Is there a way to do what I am trying to do here?
Yup, but multi-tables updates are supported since 4.0.4:
http://www.mysql.com/doc/en/UPDATE.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
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