I've been given this table with over 70 fields in it (don't ask).. Anyway, I've added a new row to it for testing purposes which is full of test data (It's like a template-row I guess you'd call it). Now I'd like to use that row to spin-off copies of, into the same table (while just changing the primaryID). This will allow me to test and test with fresh new test rows without having to create new ones manually....Uhhhhg. Currently, I've got the fresh template-row done, and have entered a new row with a new ID (and the rest of the fields are NULL). How can I update this null-row with data from the clean template-row?
I was hoping to do something like this:
UPDATE Table t1 SET t1.col1, t1.col2,...t1.col70
SELECT t2.col1, t2.col2,...t2.col70 FROM Table t2 WHERE id = myTemplateRowID
WHERE t1.id = myNullRowID
I thought I saw this sort of Update statement somewhere once (syntax isn't correct I know).