我试图在sqlDeveloper中执行该脚本
INSERT /*+ append */ INTO db.i$_fact_mesure
(mesure,
dim_cat_dim_cat_id,
dim_date_dim_date_id,
dim_plan_dim_plan_id,
dim_org_dim_org_id,
dim_eqp_dim_eqp_id,
ind_update)
SELECT mesure,
dim_cat_dim_cat_id,
dim_date_dim_date_id,
dim_plan_dim_plan_id,
dim_org_dim_org_id,
dim_eqp_dim_eqp_id,
ind_update
FROM (SELECT DISTINCT To_number(c1_mesure) MESURE,
dim_cat.dim_cat_id DIM_CAT_DIM_CAT_ID,
dw_dim_date.date_id DIM_DATE_DIM_DATE_ID,
dim_plan.dim_plan_id DIM_PLAN_DIM_PLAN_ID,
dim_org.dim_org_id DIM_ORG_DIM_ORG_ID,
dim_eqp.dim_eqp_id DIM_EQP_DIM_EQP_ID,
'I' IND_UPDATE
FROM ((((db.c$_0fact_mesure
LEFT OUTER JOIN db.dim_cat DIM_CAT
ON c2_category = dim_cat.categorie)
LEFT OUTER JOIN db.dim_eqp DIM_EQP
ON c3_asset_number = dim_eqp.asset_number)
LEFT OUTER JOIN db.dim_org DIM_ORG
ON c4_organization_id = dim_org.organization_id)
LEFT OUTER JOIN db.dim_plan DIM_PLAN
ON c5_plan_id = dim_plan.plan_id)
LEFT OUTER JOIN db.dw_dim_date DW_DIM_DATE
ON c6_date_mesure = dw_dim_date.full_date
WHERE ( 1 = 1 )) S
WHERE NOT EXISTS (SELECT 1
FROM db.fact_mesure T
WHERE T.fact_key = S.fact_key);
我从Oracle数据集成器获得了该脚本,特别是在intregration步骤中(将流插入到I $表中),我得到了该错误
引起:java.sql.SQLSyntaxErrorException:ORA-00904:" S"。" FACT_KEY":无效标识符
我无法理解可能是什么原因