When using a database link I am unable to insert records. The full query does not work. It does not return any error either.
INSERT INTO WFM_12@ARCHIVE_LINK.US.ORACLE.COM(WORKNAME, WORKFLOWID, STAGEID) SELECT WORKNAME, WORKFLOWID, STAGEID FROM CLIENT_12 WHERE WORKNAME IN (SELECT WORKNAME FROM WFMWORKLIST WHERE STAGEID = 282 AND LASTUPDATED <= TO_DATE ('10/21/2003 11:00:00 PM','MM/DD/YYYY HH:MI:SS AM'))
Where as a simple insert works.
If you're not getting any error message at all, it could be a timeout problem where your request is timing out on the remote database before it gets a chance to execute. This could be caused by the transaction being unable to get a resource due to locks or something similar. You may want to check the database alert log file to see if you're getting any messages there that would help you to pinpoint any possible errors.
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.