Place cursor into :
select gn_dm,
mc,
gns_lx
from t_xt_gns
where cd_lx = '0' and
mc like '%登记%';
and F8,PL/SQL DEV report error: Error while trying to retrieve text for error ORA-01756
Place cursor into the last sql:
SELECT ry.swry_dm || ry.mc 人员,
ry.swjg_dm || jg.mc 所在部门,
(SELECT jg2.swjg_dm || jg2.mc
FROM t_dm_gy_swjg jg2
WHERE jg2.swbm_bj = '0' AND
rownum = 1
START WITH jg2.swjg_dm = jg.swjg_dm
CONNECT BY PRIOR sjswjg_dm = jg2.swjg_dm) 所在机构
FROM t_dm_gy_swjg jg,
t_dm_gy_swry ry
WHERE ry.swry_dm IN ('24420000282') AND
ry.swjg_dm = jg.swjg_dm;
and F8,PL/SQL DEV report error: ORA-00904: "JG"."SWJG_D": invalid identifier
and If add a newline behind :ry.swjg_dm = jg.swjg_dm;
then F8 will be ok.