Use an INSERT ... SELECT, something likeINSERT INTO [pubs].[dbo].[authors]([au_id], [au_lname], [au_fname] , [phone], [address], [city], [state], [zip], [contract])SELECT '111-11-1111', au_lname, au_fname, phone, address, city, state, zip, contractFROM pubs..authorsWHERE au_id = '172-32-1176'INSERT INTO [pubs].[dbo].[authors]([au_id], [au_lname], [au_fname] , [phone], [address], [city], [state], [zip], [contract])SELECT '222-11-1111', au_lname, au_fname, phone, address, city, state, zip, contractFROM pubs..authorsWHERE au_id = '172-32-1176'INSERT INTO [pubs].[dbo].[authors]([au_id], [au_lname], [au_fname] , [phone], [address], [city], [state], [zip], [contract])SELECT '333-11-1111', au_lname, au_fname, phone, address, city, state, zip, contractFROM pubs..authorsWHERE au_id = '172-32-1176'
Or if you have multiple rows you can combine them in a single INSERT by using UNIONs between the SELECTsINSERT INTO [pubs].[dbo].[authors]([au_id], [au_lname], [au_fname] , [phone], [address], [city], [state], [zip], [contract])SELECT '111-11-1111', au_lname, au_fname, phone, address, city, state, zip, contractFROM pubs..authorsWHERE au_id = '172-32-1176'UNION ALLSELECT '222-11-1111', au_lname, au_fname, phone, address, city, state, zip, contractFROM pubs..authorsWHERE au_id = '172-32-1176'UNION ALLSELECT '333-11-1111', au_lname, au_fname, phone, address, city, state, zip, contractFROM pubs..authorsWHERE au_id = '172-32-1176'