Bom dia a todos  sou novato no oracle alguem poderia me ajudar me dizer onde
estou errando nessa procedure.


create or replace
PROCEDURE VERIFICACREDENCIAL
( pLOGIN IN  NUMBER
, pPASSWORD IN  VARCHAR2
, OPCAO OUT VARCHAR2
) IS

BEGIN
SELECT

case
when pLOGIN = pLOGIN and pPASSWORD ='pPASSWORD' then 'S'
else  'N'
end
FROM TB_WEB where pLOGIN = pLOGIN
;
END VERIFICACREDENCIAL;


Desde já agradeço pela atenção

-- 
Rafael Klimann


[As partes desta mensagem que não continham texto foram removidas]

Responder a