Question : create a new record A in a table and copy some data from record B in the same table

I would like to create a new record A in a table and copy some data from record B in the same table.

I would like to do this via SQL. I have attached an image with all the information I think that’s needed.

Thanks!
 
 
FormDefinitions table
325831
 

Answer : create a new record A in a table and copy some data from record B in the same table

This would do:


INSERT INTO FormDefinitions (xaoFormID , xaoControlName, xaoClassID, xaoType, xaoProperties, xaoCode)
SELECT '3ASDF', xaoControlName, xaoClassID, xaoType, xaoProperties, xaoCode
FROM FormDefinitions
WHERE xaoFormID like 'PART-filltherest'
Random Solutions  
 
programming4us programming4us