/*ALIAS>l_data*/

/*SQLStart>532*/
alter table objects
  add o_deputyid integer;
/*SQLStop>*/

/*SQLStart>0*/
update objectregister set or_deputy = or_manager where (or_deputy is null)
/*SQLStop*/

/*SQLStart>0*/
update objectregister set or_manager = or_deputy  where (or_manager is null)
/*SQLStop*/

/*DLLStart>533*/
DLLName=upd009.dll
DLLProc=fixdeputy
/*DLLStop>*/
