jcarlosriverae

cola de salida pivot ox

Dec 30th, 2021
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. select
  2. toi.id,
  3. toi.id_transaccion_ahorro_cliente,
  4. toi.id_transaccion_spei,
  5. toi.folio_orden,
  6. toi.datos,
  7. toi.detalle_error,
  8. ts.json_respuesta, --
  9. toi.fecha_autorizacion,
  10. ts.fecha_actualizacion as timestamp_confirmacion_proveedor,
  11. (ts.fecha_actualizacion - toi.fecha_autorizacion) as tiempo_total_transaccion,
  12. toi.estatus,
  13. toi.fecha_alta, toi.fecha_instruccion, toi.fecha_actualizacion,
  14. toi.usuario_autorizador,
  15. toi.usuario_instructor
  16. from
  17. temp_ordenes_importador toi
  18. left JOIN transacciones_spei ts on toi.id_transaccion_spei = ts.id
  19. where
  20. toi.datos like "{""cuenta_origen"":585%" -- pivot ox
  21. order by toi.id desc
Advertisement
Add Comment
Please, Sign In to add comment