salix/db/routines/vn2008/views/pago_sdc.sql

16 lines
536 B
MySQL
Raw Normal View History

2024-02-12 11:25:58 +00:00
CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`pago_sdc`
AS SELECT `ei`.`id` AS `pago_sdc_id`,
`ei`.`amount` AS `importe`,
2024-02-19 10:04:07 +00:00
`ei`.`dated` AS `fecha`,
2024-02-19 10:27:37 +00:00
`ei`.`dueDated` AS `vencimiento`,
2024-02-12 11:25:58 +00:00
`ei`.`entityFk` AS `entity_id`,
`ei`.`ref` AS `ref`,
`ei`.`rate` AS `rate`,
`ei`.`companyFk` AS `empresa_id`,
`ei`.`financialProductTypefk` AS `financialProductTypefk`,
`ei`.`upperBarrier` AS `upperBarrier`,
`ei`.`lowerBarrier` AS `lowerBarrier`,
`ei`.`strike` AS `strike`
FROM `vn`.`exchangeInsurance` `ei`