update SYSPARAMETERS set VALUESTRING = '1'  where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionHigh';
update SYSPARAMETERS set VALUESTRING = '143' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow';
update SYSPARAMETERS set VALUESTRING = '2005-05-11' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate';

alter table users
   alter searchdocumentsortmode to s_docsortmode;

alter table users
   alter bestsellerdocumentsortmode to b_docsortmode;

alter table users
   alter latestadditionsdocumentsortmode to l_docsortmode;

alter table users
   alter categoryviewdocumentsortmode to c_docsortmode;

commit;