我正在尝试将记录从一个数据库复制到另一个数据库。以下是我的查询和我得到的错误:
INSERT INTO RDW.rdw_sdm_trader_sls_brn_cst_v
SELECT * from RDW.rdw_sdm_trader_sls_brn_cst_v@DB_DWHPRD_RDW
WHERE DIVISION_CODE = 'EH' and rownum <= 100
-
*Error at Command Line:4 Column:0*
*Error report:*
*SQL Error: ORA-01779: cannot modify a column which maps to a non key-preserved table*
01779. 00000 - "cannot modify a column which maps to a non key-preserved table"*
*Cause: An attempt was made to insert or update columns of a join view which*
*map to a non-key-preserved table.*
*Action: Modify the underlying base tables directly.*