Found the bug. there was no delimiter at the end of billing.sql

master
dtookey 4 years ago
parent 0fadeef609
commit ab8defde4d

@ -12,4 +12,8 @@ FROM billing;
CREATE INDEX ref_num ON billing_report (refNumber);
UPDATE billing_report
SET division = IF(division = 'Warranty', CONCAT(SUBSTRING(refNumber, 1, 3), ' - ', 'Structural'), CONCAT(SUBSTRING(refNumber, 1, 3), ' - ', division))
SET division = IF(
division = 'Warranty',
CONCAT(SUBSTRING(refNumber, 1, 3), ' - ', 'Structural'),
CONCAT(SUBSTRING(refNumber, 1, 3), ' - ', division)
);

Loading…
Cancel
Save