Mysql update table if field exists
I am searching -google, mysql-man, forums- for a solution for more than four hours but could not find anything. I need simply a function+
condition to update hundreds of tables.
This query stopped on first error:
update ignore table1 set id2=id1;
update ignore table2 set id2=id1;
...
Any idea?
Similar entries
- Mysql: update weight by an auto-incremented string created on the fly
- next pagerank update
- Case-insensitive replace with Mysql
- Pagerank Update from Google at 22 January 2011
- Update / overwrite files and directories recursively with Linux mv - cp commands
- how update a View with phpMyAdmin
- Why tableless design, DIV vs. TABLE
- Sort Drupal taxonomy terms by custom weight
- Social bookmarking Client for multiple update
- Howto log slow MySQL Queries in Debian
- Install Curl on PHP5 Webmin + Debian
- Apache Error: make_sock: could not bind to
- Search in text files recursively with PHP - Grep
- Get top 100 words / keywords from a text with PHP
- [Howto Fix] Table './eximstats/sends' is marked as crashed and should be repaired
- url encode decode directly with mysql
- Fix swfupload fake flash player error
- Backup all MySQL databases automagicly with the PHP admin script
- Mysql Order / Sort by before Group by
- Import big SQL Files under WAMP or LAMP ?

Post new comment