update SYSPARAMETERS set VALUESTRING = '1'  where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionHigh';
update SYSPARAMETERS set VALUESTRING = '124' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow';
update SYSPARAMETERS set VALUESTRING = '2004-11-11' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate';

delete from sysparameters where name = 'ServerLogFile'; 

drop index INDEX_9;

create unique asc index INDEX_9 on USERS (
USERNAME,
EXTERNALSERVERID
);

update SYSPARAMETERS set NAME = 'EnableLdapSupport' where context_key = 'sysparam.context.ldap';
update SYSPARAMETERS set DATATYPE = 2 where context_key = 'sysparam.context.ldap';

commit;