If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
El sistema accede a los indices de las tablas de manera automatica de acuerdo a los campos que esten en el Where pero puedes forzar que entre a un indice con la siguiente instruccion
SELECT *
INTO CORRESPONDING FIELDS OF TABLE I_tabla
FROM Ztabla
WHERE STATUS = 0
AND CENTRO = p_werks
%_hints
oracle 'INDEX ("ZTABLA" "ZTABLA~Z03")'.
Comentario