Duvida Oracle refrente Job

0 respostas
P

Caros,

estou tentando gerar um job (pra rodar de segunda a sexta )
no Oracle mas me dá erro abaixo alguém poderia me ajudar …

abs

SQL> declare
  2  job number;
  3  begin
  4    sys.dbms_job.submit(job => job,
  5                        what => 'PC_BIDW_CARGA_DW.SP_BIDW_TB_BIR_FIL_CIC_VID_HT;',
  6                        next_date => trunc(sysdate+1)+1/24 ,
  7                        interval => 'trunc(
  8                         least(
  9                               next_day(SYSDATE,''SEGUNDA_FEIRA''),
 10                               next_day(SYSDATE,''TERCA-FEIRA''),
 11                               next_day(SYSDATE,''QUARTA-FEIRA''),
 12                               next_day(SYSDATE,''QUINTA-FEIRA''),
 13                               next_day(SYSDATE,''SEXTA-FEIRA'')
 14                              )
 15                               +1/24,''HH'')'
 16                        
 17                        
 18                        
 19                        );
 20   
 21  end;
 22  /
declare
*
ERRO na linha 1:
ORA-12899: valor muito grande para a coluna "SYS"."JOB$"."INTERVAL#" (real: 420, máximo: 200)
ORA-06512: em "SYS.DBMS_IJOB", line 214
ORA-06512: em "SYS.DBMS_JOB", line 153
ORA-06512: em line 4
Criado 19 de setembro de 2008
Respostas 0
Participantes 1