oracle 此处不允许序列
一个插入语句,这样写报错:此处不允许序列
insert into t_dict_product_mapping(f_dict_id, f_product_code_jifei, f_product_name_jifei)
select s_dict_product_mapping.nextval dictid,gid,gname from t_dw_fltelecomproduct_all a
group by gid,gname
改写成这样既可继续
insert into t_dict_product_mapping(f_dict_id, f_product_code_jifei, f_product_name_jifei)
select s_dict_product_mapping.nextval dictid,gid,gname from (
select gid,gname from t_dw_fltelecomproduct_all a
group by gid,gname
)
贴报错信息
什么提示, 说具体点, 例如出现什么错