CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`Proveedores` AS SELECT `s`.`id` AS `Id_Proveedor`, `s`.`name` AS `Proveedor`, `s`.`account` AS `cuenta`, `s`.`countryFk` AS `pais_id`, `s`.`nif` AS `NIF`, `s`.`isFarmer` AS `Agricola`, `s`.`phone` AS `Telefono`, `s`.`retAccount` AS `cuentaret`, `s`.`commission` AS `ComisionProveedor`, `s`.`created` AS `odbc_time`, `s`.`postcodeFk` AS `postcode_id`, `s`.`isActive` AS `active`, `s`.`street` AS `Domicilio`, `s`.`city` AS `Localidad`, `s`.`provinceFk` AS `province_id`, `s`.`postCode` AS `codpos`, `s`.`payMethodFk` AS `pay_met_id`, `s`.`payDemFk` AS `pay_dem_id`, `s`.`nickname` AS `Alias`, `s`.`isOfficial` AS `oficial`, `s`.`workerFk` AS `workerFk`, `s`.`payDay` AS `pay_day`, `s`.`isSerious` AS `serious`, `s`.`note` AS `notas`, `s`.`taxTypeSageFk` AS `taxTypeSageFk`, `s`.`withholdingSageFk` AS `withholdingSageFk`, `s`.`isTrucker` AS `isTrucker`, `s`.`transactionTypeSageFk` AS `transactionTypeSageFk`, `s`.`supplierActivityFk` AS `supplierActivityFk`, `s`.`healthRegister` AS `healthRegister`, `s`.`isPayMethodChecked` AS `isPayMethodChecked` FROM `vn`.`supplier` `s`