Oracle APEX 报错List of Values not supported for this type

问题现象

修改Type类型为:Tabular Form[Legacy]的SQL时,保存报错:

ORA-20999: ‘PL/SQL Function Body returning SQL Query’ List of Values not supported for this type! ORA-06512: 在 “APEX_050100.WWV_FLOW_REG_RPT_COL_DEV_IOT”, line 79 ORA-04088: 触发器 ‘APEX_050100.WWV_FLOW_REG_RPT_COL_DEV_IOT’ 执行过程中出错

解决方法

这是由于apex 从4.2版本 升级到 5.1时APEX的一个BUG

解决方法为:
1. 先把TYPE变成成其它的类型
2. 再把TYPE修改成Tabular Form[Legacy]
3. 这时会弹出警告:

This will just create the tabular form and not the associated processes and validations. To generate the related processes and validations please use the Create Page wizard.

之后再修改SQL,保存,可以正常保存了

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这个错误通常发生在使用 matplotlib 绘制多行文本时尝试添加锚点(anchor)时。下面是一个示例代码,当你尝试在多行文本中添加锚点时,就会收到 ValueError 错误: ```python import matplotlib.pyplot as plt fig, ax = plt.subplots() text = """This is a multiline text.""" ax.text(0.5, 0.5, text, ha='center', va='center', multialignment='center', bbox=dict(boxstyle='round', facecolor='wheat', alpha=0.5), fontsize=16, fontweight='bold', color='black', transform=ax.transAxes) ax.annotate('Anchor', xy=(0.5, 0.5), xycoords='data', xytext=(0.5, 0.6), textcoords='axes fraction', ha='center', va='center', arrowprops=dict(facecolor='black', shrink=0.05)) plt.show() ``` 要解决这个问题,你可以将多行文本转换为单行文本,并在其中添加锚点。例如,下面是一个可以正常运行的代码示例: ```python import matplotlib.pyplot as plt fig, ax = plt.subplots() text = "This is a multiline text." ax.text(0.5, 0.5, text, ha='center', va='center', bbox=dict(boxstyle='round', facecolor='wheat', alpha=0.5), fontsize=16, fontweight='bold', color='black', transform=ax.transAxes) ax.annotate('Anchor', xy=(0.5, 0.5), xycoords='data', xytext=(0.5, 0.6), textcoords='axes fraction', ha='center', va='center', arrowprops=dict(facecolor='black', shrink=0.05)) plt.show() ``` 在这个示例中,我们将多行文本转换为单行文本,并在其中添加锚点。现在,代码可以正常运行,而不会收到 ValueError 错误。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值