【问题标题】:How to extract the value from a url stored in a clob column如何从存储在 clob 列中的 url 中提取值
【发布时间】:2020-11-15 00:31:19
【问题描述】:

例如,如果 url 是“http://abcretreival.stacks.com/questi/component/getcontent?objectid=12345a2z786c1001&basecod=aiae_drp”,我需要提取对象 id 的值

【问题讨论】:

  • 请添加更多您需要的描述

标签: oracle url clob


【解决方案1】:

您可以为此使用正则表达式函数:

select regexp_substr(
    myclob,
    'object_id=([^&]*)',
    1,
    1,
    null,
    1
) object_id
from mytable

【讨论】:

    猜你喜欢
    • 2019-07-29
    • 1970-01-01
    • 2022-01-02
    • 1970-01-01
    • 1970-01-01
    • 2019-12-25
    • 2014-01-24
    • 1970-01-01
    • 2016-07-19
    相关资源
    最近更新 更多