Skip to Main Content

Oracle Database Free

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Bug: MLE Inlined Call Specification Syntax not working in 23.4 anymore

Philipp SalvisbergMay 20 2024 — edited May 20 2024

The syntax is documented here. I highlighted the relevant part in the following image:

The following code worked in 23.3. In 23.4 it reports a compile error: “PLS-00881: missing closing delimiter 'q'[return' for MLE language code”.

create or replace function to_epoch_js2("in_ts" in timestamp) 
   return number is 
      mle language javascript q'[return in_ts.valueOf();]';
/

I tried various variants of quoted string literals (e.g. q'~…~') but nothing works. IMO also a normal string such as '…' should work as long as the JavaScript code does not contain apostrophes.

However, in 23.4 MLE Inlined Call Specifications do not work anymore.

I hope this can be fixed in one of the coming versions.

Thank you.

This post has been answered by MartinBach-Oracle on May 21 2024
Jump to Answer
Comments
Post Details
Added on May 20 2024
4 comments
388 views