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-00923: FROM keyword not found where expected

JhilApr 5 2021

Dear Experts,

May I know why I am getting an error of below SQL
SQL> select 'select DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','''||USERNAME||''') from dual; 'from dba_users where username like 'SMS%';
select 'select DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','''||USERNAME||''') from dual; 'from dba_users where username like 'SMS%'
*
ERROR at line 1:
ORA-00923: FROM keyword not found where expected

Thanks

This post has been answered by BEDE on Apr 5 2021
Jump to Answer
Comments
Post Details
Added on Apr 5 2021
2 comments
176 views