Below is the plsql block that I would like to run as a command on Relativity.
begin
update foo set some_field = ‘some data’ where id =1;
update bar set some_field = ‘some data’ where id =1;
end;
I got the following error message;
“ORA-06650: line 1, column 6: PLS-00103: Encountered th symbol “” when expecting one of the following: …”
I’ve tested this issue with different oracle drivers. With Oracle.Net and ODP.Net drivers I got same error message. But, It works perfect with Oracle OLEDB driver.
Sorry for the belated response.
Unfortunately, I can’t reproduce the problem. The provided pl/sql block works fine if it is defined as command. Can you send us small testcase with the problem or more detailed step-by-step instructions to investigate the problem in details?
I attached a zip file contains DA schema and connection files. I use Oracle10g Express Edition and sample HR database user.
I provided three different oracle connection (ODP.NET,Oracle.Net,OLEDB) and a command called as "BatchInsert’.You can see the proplem as click “run as command” button in the sql editor with Oracle_NET and Oracle_ODP statements in the Da Schema Modler. The Oracle_OLEDB statement runs as expected.
Please note I encounter same exception when I deploy the schema to Relativity Server and access from delphi.
Thank you for the testcase and instructions. I have reproduced the problem. Appropriate issue is registered as #55655 “Encountered the symbol “” when expecting one of the following …” exception if execute PL/SQL block".