Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql insert rows to another database

CREATE TABLE db2.table LIKE db1.table;
INSERT INTO db2.table 
SELECT column_name FROM db1.table
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #insert #rows #database
ADD COMMENT
Topic
Name
9+1 =