Recently I needed to use a set of real data from my previous project for demonstration purpose. While most data are real, personal information like name and email needed to be replaced by random generated data. I already got around few thousands set of name and email generated by using service like mockaroo.
Is there a way to insert these data quick using SQL? As I need to keep other data, I can only update the 2 fields instead of inserting new rows. I have an ID field as primary key, but it is not consecutive due to deleting rows in actual use. It would be best (but not a must) if it is in this format:
Some SQL UPDATE statement
("Russell Dixon", "[email protected]"),
("Todd Gonzales", "[email protected]"),
("Roger Green", "[email protected]"),
.........
("Jason Anderson", "[email protected]"),
("Gloria Larson", "[email protected]"),
("Eric Bishop", "[email protected]")
Some SQL statment or empty