I am trying to update MS SQL Server table from Oracle via dblink. Using 11g on Oracle with Gateway HS configuration i can query of SQL Server table from Oracle but cannot update as below is detail error is showing.
Error starting at line : 3 in command -
WHERE "NUM_0"= 'PPFT10202000001'
Error at Command Line : 5 Column : 17
Error report -
SQL Error: ORA-02070: database DBLINK does not support some function in this context
02070. 00000 - "database %s%s does not support %s in this context"
*Cause: The remote database does not support the named capability in
the context in which it is used.
*Action: Simplify the SQL statement.
In SQL Server table "Paymenth" having NUM_0 & UPDTICK_0 columns. NUM_0 is NVARCHAR where UPDTICK_0 is INTEGER. I can use UPDTICK_0 in where condition and can proceed for the update but cannot use NVARCHAR in where condition and getting above error. see the below example with INTEGER column condidition in where clause.
85 rows updated.
please advise to use NVARCHAR in where clause while updating MS SQL Server table from Oracle.
There is a known bug related to this issue. See MOS note 457473.1.