--!!!Following statement should be executed, if updating from version 8.6.1.0 or higher and facing tablespace problems in the past due to large pdf email-attachments stored in WTXT!!!
--!!!PLEASE NOTE: After running this statement it will not be possible anymore to open confirmation letters created with a version < 8.6!!!

--update WTXT set wtxt_data = '52454D4F564544' /*REMOVED*/ where exists (select 1 from WMAI where WMAI.WMAI_SENT=1 and WMAI.WMAI_ATTACHMENT_WTXT_ID=WTXT.WTXT_ID) and WTXT.WTXT_DOCFORMAT=2;
