Skip to Main Content

Español

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

condición del servidor para mostrar un item

RortinMay 31 2020 — edited Jun 5 2020

Buenos días:

Estoy utilizando oracle apex 19.1

al poner la condición de servidor para mostrar el item con el seguiente proceso:

declare

V_TAG VARCHAR2(200);

begin

SELECT V01 INTO V_TAG FROM FT_MASTER_TAG_REPORT WHERE FT_MASTER_TAG_REPORT.TIPO = :P360_TIPO_FASE AND FT_MASTER_TAG_REPORT.SUBTIPO = :P360_TIPO_INFORME;

if V_TAG IS NOT NULL

then

RETURN TRUE;

else

RETURN FALSE;

end if;

end;

al cargar la pagina me da el siguiente error:

return null; end; begin wwv_flow.g_boolean := x; end;

¿Donde está el fallo? cuando marco la condición del servidor como cuerpo de la funcion pl/slq, ¿Es que no se pueden incluir sql?

Si encuentra un valor de la select debería de devolver TRUE y sino FALSE, ¿Correcto?

Un saludo y gracias.

This post has been answered by Mónica Godoy -Oracle on Jun 2 2020
Jump to Answer
Comments
Post Details
Added on May 31 2020
1 comment
972 views