Estou com problemas na conversão de varchar2 para Date.
[CODE]
create or replace procedure mgcli.al_consumo_insumos(
cur out sys_refcursor,
comp_st_nome in varchar,
usu_in_codigo in number,
pfil_in_codigo in number,
pgru_in_codigo_i in number,
pgru_in_codigo_f in number,
ppro_in_codigo_i in number,
ppro_in_codigo_f in number,
pdt_base in VARCHAR2
) is
vDt_Base Date;
begin
vDt_Base := to_date(pdt_base, ‘dd/mm/yyyy’); ERRO OCORRE AQUI
open cur for
select distinct
comp_st_nome,
[/CODE]
Aguardo a ajuda dos colegas.