ora-06553 pls-306 wrong number or types of arguments in call to ‘ogc_x’

you’ve used double quotes on “X”. this should be ‘X’. the X object is an function in the MDSYS schema, “ogc_x”, so when you say est.tipo_estatus = “X” instead of the correct est.tipo_estatus = ‘X’ it gets translated (as “” is as an identifier so “X” is the same as just typing X) to est.tipo_estatus = mdsys.ogc_x and of course fails.

How do I use CREATE OR REPLACE?

This works on functions, procedures, packages, types, synonyms, trigger and views. Update: After updating the post for the third time, I’ll reformulate this: This does not work on tables 🙂 And yes, there is documentation on this syntax, and there are no REPLACE option for CREATE TABLE.