Hey Everyone,
Is this an Oracle bug?
Here is my cursor statement:
CURSOR tax_portal_curs or IS
SELECT * FROM web_payment@rem otedb WHERE caps_code IN (
SELECT * FROM TABLE(CAST(l_ca ps_codes AS myTableType)) ) AND
processed_datet ime IS NULL
FOR UPDATE OF processed_datet ime;
I later fill the object using this statement:
SELECT CAST(MULTISET(S ELECT DISTINCT(tax_cd e) FROM
iris_acct_charg e@remotedb) as myTableType)
INTO l_caps_codes
FROM dual;
I then try to update the record with this statement:
UPDATE web_payment@rem otedb
SET processed_datet ime = SYSDATE
WHERE CURRENT OF tax_portal_curs or;
I receive the following error:
ERROR at line 1:
ORA-02015: cannot select FOR UPDATE from remote table
Any ideas here? Select for Update is a pretty common function. Is it
because of the object type???
Thanks,
Arthur
Is this an Oracle bug?
Here is my cursor statement:
CURSOR tax_portal_curs or IS
SELECT * FROM web_payment@rem otedb WHERE caps_code IN (
SELECT * FROM TABLE(CAST(l_ca ps_codes AS myTableType)) ) AND
processed_datet ime IS NULL
FOR UPDATE OF processed_datet ime;
I later fill the object using this statement:
SELECT CAST(MULTISET(S ELECT DISTINCT(tax_cd e) FROM
iris_acct_charg e@remotedb) as myTableType)
INTO l_caps_codes
FROM dual;
I then try to update the record with this statement:
UPDATE web_payment@rem otedb
SET processed_datet ime = SYSDATE
WHERE CURRENT OF tax_portal_curs or;
I receive the following error:
ERROR at line 1:
ORA-02015: cannot select FOR UPDATE from remote table
Any ideas here? Select for Update is a pretty common function. Is it
because of the object type???
Thanks,
Arthur
Comment