Skip to content
Advertisement

Found the symbol “CREATE” instead of

I don’t know why it gives me this error:

Error(3,3): PLS-00103: Found the symbol “CREATE” instead of one of the following: ( begin case declare exit for goto if …

I tried using the backslash, but it doesn’t solve the problem, any help?

Advertisement

Answer

You cannot use DDL statements in PL/SQL. You need to use EXECUTE IMMEDIATE and cannot use CREATE OR REPLACE:

db<>fiddle here

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement