Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-00911: invalid character ... why

AyhamJun 8 2012 — edited Jun 8 2012
Hi all,
when i execute the follwoing PL/SQL block , the error message say
ORA-00911: invalid character

begin
execute immediate 'create table test as select to_number(regexp_substr(doc_list'
||' , '
||' ''[^,]+'', 1, level) from test;'

end;

but in SQL running ok :
select to_number(regexp_substr(doc_list, '[^,]+', 1, level)) val from test

regards
Wael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2012
Added on Jun 8 2012
4 comments
3,879 views