CREATE OR REPLACE
FUNCTION GET_VERIFICA_IMPOSTO(
	P_CDIMPOSTO IN IMPOSTO.CDIMPOSTO%TYPE)
  RETURN VARCHAR2
AS
	V_CDIMPOSTONFE IMPOSTO.CDIMPOSTONFE%TYPE;
BEGIN
	SELECT CDIMPOSTONFE
      INTO V_CDIMPOSTONFE
	  FROM IMPOSTO
	 WHERE CDIMPOSTO = P_CDIMPOSTO;
   
	RETURN V_CDIMPOSTONFE;
END;
/
