This commit is contained in:
parent
bdc6192a7c
commit
92261ebe0d
|
@ -9,7 +9,10 @@ BEGIN
|
||||||
* @return tmp.ticketAmount (ticketFk, taxableBase, tax, code)
|
* @return tmp.ticketAmount (ticketFk, taxableBase, tax, code)
|
||||||
* @return tmp.ticketTax (ticketFk, pgcFk, taxableBase, rate, code) Impuesto desglosado para cada ticket.
|
* @return tmp.ticketTax (ticketFk, pgcFk, taxableBase, rate, code) Impuesto desglosado para cada ticket.
|
||||||
*/
|
*/
|
||||||
CREATE OR REPLACE TEMPORARY TABLE tmp.addressCompany
|
-- Mantengo el drop porque si no da error en los tests de back de salix
|
||||||
|
-- Table 'addressCompany' was locked with a READ lock and can't be updated'
|
||||||
|
DROP TEMPORARY TABLE IF EXISTS tmp.addressCompany;
|
||||||
|
CREATE TEMPORARY TABLE tmp.addressCompany
|
||||||
(INDEX (addressFk, companyFk))
|
(INDEX (addressFk, companyFk))
|
||||||
ENGINE = MEMORY
|
ENGINE = MEMORY
|
||||||
SELECT DISTINCT t.addressFk, t.companyFk
|
SELECT DISTINCT t.addressFk, t.companyFk
|
||||||
|
|
Loading…
Reference in New Issue