OraScript cannot parse PL/SQL block preceeded by a comment
Posted: Thu 30 Apr 2020 11:03
The latest ODAC build introduced a problem with the TOraScript component.
if your script contains an anonymous PL/SQL block that is preceeded by a comment, the OraScript component takes the first two lines as a separate statement, i.e. the line starting with "begin" is handled as the beginning of the next statement.
You can reproduce it using the following example:
Regards,
Holger
if your script contains an anonymous PL/SQL block that is preceeded by a comment, the OraScript component takes the first two lines as a separate statement, i.e. the line starting with "begin" is handled as the beginning of the next statement.
You can reproduce it using the following example:
Code: Select all
-- this is a comment
declare
i integer;
begin
null;
end;
Holger