update SYSPARAMETERS set VALUESTRING = '1'  where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionHigh';
update SYSPARAMETERS set VALUESTRING = '199' where CONTEXT = 'SYSTEMINFO' and name = 'DBVersionLow';
update SYSPARAMETERS set VALUESTRING = '2011-06-01' where CONTEXT = 'SYSTEMINFO' and name = 'DBCreationDate';

alter table DOCUMENTTYPES alter column MIMETYPE type varchar(512);

update DOCUMENTTYPES set MIMETYPE='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' where EXTENSION ='XLSX';
update DOCUMENTTYPES set MIMETYPE='application/vnd.openxmlformats-officedocument.wordprocessingml.document' where EXTENSION = 'DOCX';
update DOCuMENTTYPES set MIMETYPE='application/vnd.openxmlformats-officedocument.presentationml.presentation' where EXTENSION = 'PPTX';

commit;