altocompta/sql/upgrade.sql
2007-10-15 13:25:35 +00:00

6 lines
No EOL
286 B
SQL

delete from jrn where jr_internal is null;
delete from jrnx where j_grpt not in (select jr_grpt_id from jrn);
alter table op_predef add od_direct bool;
update op_predef set od_direct=false;
alter table op_predef alter od_direct set not null;
alter table op_predef_detail add od_qc bool;