Is it possible to insert data into multiple tables in one statement?
For example, I have two tables (live_products and products) they are the same, except live_products is highly transactional and I keep the record count low (delete once done), where as products holds all historical data, used for reports, etc.
Currently, I'm doing two queries, but it would be nice to do something like
INSERT INTO live_products,products (id, name) values ('','')
This doesn't work... but is there something else?
Thanks!