Hi felows, I Have a script, collecting data from several tables, it takes long time to run, I created a single table that have just the information I need, I want to create a procedure, to run every day (with cron), to update this table. |
AFAIK, the ON EXISTING clause does not work when the source table (SELECT FROM) or the destination table (INSERT INTO) are proxy tables, as documented here - although the documentation just mentions the destination table. My typical workaround is a two-step approach:
|
FWIW, the correct error text shoud be "Remote server does not have the ability to support this statement" (SQLCODE -706).