18 lines
531 B
MySQL
18 lines
531 B
MySQL
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn2008`.`Agencias`
|
||
|
AS SELECT `am`.`id` AS `Id_Agencia`,
|
||
|
`am`.`name` AS `Agencia`,
|
||
|
`am`.`description` AS `description`,
|
||
|
`am`.`deliveryMethodFk` AS `Vista`,
|
||
|
`am`.`m3` AS `m3`,
|
||
|
`am`.`web` AS `web`,
|
||
|
`am`.`agencyFk` AS `agency_id`,
|
||
|
`am`.`inflation` AS `inflacion`,
|
||
|
`am`.`isVolumetric` AS `is_volumetric`,
|
||
|
`am`.`reportMail` AS `send_mail`,
|
||
|
`am`.`isActive` AS `tpv`,
|
||
|
`am`.`code` AS `code`,
|
||
|
`am`.`isRiskFree` AS `isRiskFree`
|
||
|
FROM `vn`.`agencyMode` `am`
|