Hi guys,
Whoever implemented the p_plain_url in apex_page_get_url as boolean never had to use it within a SQL query…
Duplicate of FR-1987
I suspect that at this point the response will be “upgrade to boolean supporting DB 23c” or “workaround using with-clause wrapper functions”: https://oracle-base.com/articles/12c/with-clause-enhancements-12cr1
with
it's a bad pattern to call get_url in sql. there is absolutely no reason to call this expensive function in sql for each row. if you click on one link, generate the url and navigate to the url.
Agree with @fac586 and @rode.mb . Eventually you will be able to use it. But that doesn't mean you should. Today, you can also create a simple wrapper.