Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
themeMidnight
Update creditopy.tarjetas p
set p.estado=8, p.clase_de_estado=19
where p.emisor=52
and p.numero_cuenta='520000203990'
and p.documento='052000003724724'
and p.fecha_vigencia=to_date('30/09/2022','dd/mm/yyyy')
and p.estado=1 and p.clase_de_estado=1

Parámetros a modificar:

  • p.emisor
  • p.numero_cuenta
  • p.documento
  • p.fecha_vigencia

2. Si se trata de muchos casos, utilizamos el siguiente procedimiento:

Code Block
languagesql
themeMidnight
begin
  -- Call the procedure
  pr_venc_tarjetas(i_fecha_vto => to_date('30/09/2022','dd/mm/yyyy'),
                   i_usuario => 'MANUAL');
end;

Parámetros a modificar:

  • fecha de vencimiento