Fix: substr en substring

This commit is contained in:
Laurent Destailleur 2005-11-08 23:40:07 +00:00
parent 1639a0d0ce
commit cea3c63d56

View File

@ -481,7 +481,7 @@ alter table llx_entrepot add fk_pays integer DEFAULT 0;
alter table llx_product add stock_propale integer default 0;
alter table llx_product add stock_commande integer default 0;
alter table llx_product add seuil_stock_alerte integer default 0;
update llx_product set ref=substr(label,0,15) where ref is null;
update llx_product set ref=substring(label,0,15) where ref is null;
alter table llx_product modify ref varchar(15) UNIQUE NOT NULL;
alter table llx_product add note text after description;