I´m trying a query in oracle 10g. It goes like this:
SELECT
*
FROM
h2h_reg reg,
h2h_cat_estatus est
WHERE
r
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.