To duplicate rows (all columns) you simply can use
insert into tblname
select * from tblname
to change one column that can be changed to
insert into tblname
select column1, column2, 'fixedvalueforcolumn3' from tblname
But you need a unique value for column 3, so you need to change "fixedvalueforcolumn3" to a function that will generate some random (unique) value (date in your case) for column 3
insert into tblname
select column1, column2, generateRandomValue() from tblname
Hope this helps you
source
share