adapt for postgresql 8.4

This commit is contained in:
Dany De Bontridder 2013-09-18 19:46:01 +00:00
parent bb2789d6ec
commit 4a26eab8c2

View file

@ -9,8 +9,12 @@ update quant_purchase as e set qp_dep_priv=(select qp_price from m where m.qp_id
update quant_purchase as e set qp_dep_priv=0 where qp_dep_priv is null;
-- évite les valeurs nulles dans quant_purchase
update quant_purchase set qp_dep_priv = 0 where qp_dep_priv is null;
drop view m;
-- update script insert_quant_purchase
CREATE OR REPLACE FUNCTION comptaproc.insert_quant_purchase(
p_internal text,
p_j_id numeric,