Okay,
I've made a small app in PB 2019 R3, built 2797. (see attached ZIP file).
Database Oracle 19c
Please adapt the open event of the application to connect to your own Oracle database.
DB scripts:
CREATE TABLE BLOBTEST
( REGION VARCHAR2(6 CHAR) NOT NULL ENABLE,
STREAM VARCHAR2(3 CHAR) NOT NULL ENABLE,
STAGE_NO NUMBER(*,0) NOT NULL ENABLE,
REPORT_NAME VARCHAR2(200 CHAR),
AUTOEMAIL VARCHAR2(1 CHAR),
EMAIL_SUBJECT VARCHAR2(255 CHAR),
INCL_CONTACT VARCHAR2(1 CHAR) DEFAULT 'N',
EMAIL_BODY NCLOB,
SENT_FROM VARCHAR2(255 CHAR),
INCL_COPYINVOICE VARCHAR2(1 CHAR) DEFAULT 'N',
STAGE_TYPE VARCHAR2(1 CHAR),
FALLBACK_EMAILADDRESS VARCHAR2(255 CHAR),
USE_TRANSCONTACTS VARCHAR2(1 CHAR) DEFAULT 'N'
);
ALTER TABLE BLOBTEST ADD CONSTRAINT PK_BLOBTEST PRIMARY KEY (REGION, STREAM, STAGE_NO);
grant all on BLOBTEST TO PUBLIC;
CREATE PUBLIC SYNONYM BLOBTEST FOR BLOBTEST;
inserts to get some data (don't forget to include the COMMIT: at the end):
REM INSERTING into BLOBTEST
SET DEFINE OFF;
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H01','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H02','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H03','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H04','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H05','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H06','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H21','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H25','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H26','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H27','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H28','H01',3,'MIH_Letter2.rpt','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('ERROR','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H07','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H08','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H09','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H10','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H11','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H14','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H15','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H16','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H17','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('ERR1','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('ERR2','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('ERR3','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('ERR4','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('ERR5','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R02','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R03','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R04','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R05','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R06','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R07','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R08','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R09','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R10','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R11','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R12','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R13','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R14','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R15','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R16','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R17','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('TESTML','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('TSTML2','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H18','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H22','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H23','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('H24','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('HW22','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
Insert into BLOBTEST (REGION,STREAM,STAGE_NO,REPORT_NAME,AUTOEMAIL,EMAIL_SUBJECT,INCL_CONTACT,EMAIL_BODY,SENT_FROM,INCL_COPYINVOICE,STAGE_TYPE,FALLBACK_EMAILADDRESS,USE_TRANSCONTACTS) values ('R01','H01',3,'NO','N',null,'N',null,null,'N',null,null,'N');
COMMIT;
On the main window there's one button that has an UPDATEBLOB without any WHERE, pretending to update ALL rows.
Doesn't work. Only ONE row is being updated.
Regards.
Andreas.
@John and @Andreas: I already mentioned in the ticket that I made, that at least the help should mention that only one row can be updated. https://www.appeon.com/standardsupport/search/view?id=10425