RE: update and join?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Quick question....is it possible to do an update query w/ a join yet?
If
> not, what is your preferred method? Would you take care of it on the
PHP
> side?

Probably depends on your database, but MySQL doesn't support it. I think
MySQL 4.0 might.

> I need to update a table w/ data from another table if certain
conditions
> are true, i.e the fields in the table to be joined are "NULL"....

You'll have to use a scripting language, or something outside of the
database. Or maybe a INSERT INTO ... SELECT ... will help?

---John Holmes...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux