【发布时间】:2018-02-02 20:51:02
【问题描述】:
我有以下查询:
SELECT 'curl -s http://www.mde.operator.com/MRE/api?profile=CANCEL_AUTH&mode=assync-oneway&Auth='||json_extract_path_text(external_reference_id,'transactionIdAuth') + '&NUM=' + phone FROM dbo.cancelled WHERE id like '%Auth%';
它会带来超过 6 万个结果,但是 json 被破坏了,我无法设法删除断线。
有什么方法可以跳过显示任何错误的行吗?
注意:它不是空行。
我已经试过了:
json_extract_path_text(regexp_replace(event_properties,'\\\\.',''),'someValue')
【问题讨论】:
-
你好,谁能给我关于这个问题的线索?
标签: sql arrays json linux amazon-redshift