insert A_table (id, name) select id,name from B_table;
Archive for the ‘SQL’ Category
Mysql Insert Data From Select
Posted by hide1713 on April 17, 2009
Posted in SQL | Leave a Comment »
Mysql Dump The Table Schema
Posted by hide1713 on April 16, 2009
mysqldump -u root -pmypassword test_database –no-data=true –add-drop-table=false > test_dump.sql
Posted in SQL | Leave a Comment »
Mysql Dump Scheme
Posted by hide1713 on February 15, 2009
mysqldump -h… -u… -p… <DatabaseName> –no-data –triggers
This command will dump all table schemes in your database. Very useful!
Posted in SQL | Leave a Comment »