adapt for postgresql 8.4
This commit is contained in:
parent
bb2789d6ec
commit
4a26eab8c2
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue