No entiendo el "create te15 de Abril del 2005
PreguntaTengo un error "ORA-14451: unsupported feature with temporary table". El tema es que necesito hacer una consulta en la que creo primero esta tabla. Como lo debe hacer el usuario de monitorizacion, no tengo permisos para hacer tablas permanentes, y con una tabla temporal, me sale este error.
Me podrias aconsejar porque puede cascar? Alguna recomendacion para estudiar sobre las restricciones del Global temporary (encuentro poca documentacion que hable bien de esto) .
Estoy un poco pillado
create global temporary table monitor_aux as
(
select
Free.TSNAME name,
round(free.MAXIMO/c.MAXIMO,2) freemaxpct,
c.MAXIMO freemax
from
(select
tablespace_name TSNAME,
max(bytes) MAXIMO
from
dba_free_space
group by
tablespace_name) free
,
(select
tablespace_name TSNAME,
max(next_extent) MAXIMO
from
dba_segments
Group by
tablespace_name) c
where
free.TSNAME = c.TSNAME
and
free.MAXIMO < (c.MAXIMO*4)
);
Me podrias aconsejar porque puede cascar? Alguna recomendacion para estudiar sobre las restricciones del Global temporary (encuentro poca documentacion que hable bien de esto) .
Estoy un poco pillado
create global temporary table monitor_aux as
(
select
Free.TSNAME name,
round(free.MAXIMO/c.MAXIMO,2) freemaxpct,
c.MAXIMO freemax
from
(select
tablespace_name TSNAME,
max(bytes) MAXIMO
from
dba_free_space
group by
tablespace_name) free
,
(select
tablespace_name TSNAME,
max(next_extent) MAXIMO
from
dba_segments
Group by
tablespace_name) c
where
free.TSNAME = c.TSNAME
and
free.MAXIMO < (c.MAXIMO*4)
);
