INSERT INTO FNS.T_INTEGRATION_QUEUE_HISTORY 
(historyid,integrationqueueid,input,output,name,entitytype,changeset,changetype,threadcount,timeout)
SELECT HistoryID,IntegrationQueueID,Input,Output,Name,EntityType,Changeset,ChangeType,ThreadCount,TimeOut
FROM IES.T_INTEGRATION_QUEUE_HISTORY;