Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

copy data from one table to another mysql

INSERT INTO table2 (st_id,uid,changed,status,assign_status)
SELECT st_id,from_uid,now(),'Pending','Assigned'
FROM table1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #data #table #mysql
ADD COMMENT
Topic
Name
9+3 =