on ‎2020 Dec 10 8:06 AM
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.
This way above, works, I tested:
"insert into new_table (var1, var2,var3...) select var1, var2, var3... from other_table where..."
but I tried to do this using "on existing update" and the ISQL give me the error.
"Remote server does not the ability to support this statement"
I couldn't find anything related on forums or Sybase KB.
There is some way to do what I want ?
Thanks a lot
Paulo Braga - Brazil
Request clarification before answering.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.