Pular para o conteúdo
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #107394
    Avatar de Tadeu Rodrigues de OliveiraTadeu Rodrigues de Oliveira
    Participant

      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.

      #107395
      Avatar de rmanrman
      Participant

        @Tadeu Rodrigues de Oliveira

        Qual é o valor passado para o parâmetro pdt_base na chamada de PROCEDURE?

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      plugins premium WordPress