各位大虾:
小弟求教一个问题,为什么在pl/sql developer中不能执行如下语句:
begin
insert into maitemhd1
select * from maitemhd @rodb;
commit;
end;
maitemhd1,maitemhd两个表的结构是一样,提示错误是:ORA-02083,数据库名称含有非法字符‘-’
,但是如果我只执行 ‘insert into maitemhd1 select * from maitemhd @rodb;’,然后按F10就可以成功,为什么会这样,请大虾们指教!!!!先给30分,不够在加!
小弟求教一个问题,为什么在pl/sql developer中不能执行如下语句:
begin
insert into maitemhd1
select * from maitemhd @rodb;
commit;
end;
maitemhd1,maitemhd两个表的结构是一样,提示错误是:ORA-02083,数据库名称含有非法字符‘-’
,但是如果我只执行 ‘insert into maitemhd1 select * from maitemhd @rodb;’,然后按F10就可以成功,为什么会这样,请大虾们指教!!!!先给30分,不够在加!
楼主去掉空格试试
insert into maitemhd1
select * from maitemhd @rodb;
commit;
end;
/