Oracle APEX - 在文本中使用占位符

Oracle APEX - using placeholder in the text

在我的页面上,我显示了一些来自数据库的文本 table,该文本包含我需要用一些页面项目替换的占位符。

示例:

来自数据库的文本

"My text to be displayed {0}th on the {1}th page"

应该变成:

"My text to be displayed " ||:P3_COUNT||"th on the "||:P3_PAGE_NO||"th page"

这在 Oracle APEX 中可行吗?我该怎么做?

来源:

类型: SQL查询(return单值)

SQL 查询: select replace(replace(your_column, '{0}', :P3_COUNT) , '{1}', :P3_PAGE_NO) 作为 your_column 来自 your_table