2016-09-30 2 views
1

:それぞれonetwothreeREGEXPR_REPLACE文字列

'extends the functionality & of the & REPLACE function & by'

終わりでは結果は次のようになります。

extends the functionality one of the two REPLACE function three by 
+0

SAP HANAデータベース –

答えて

0

あなたは、ネストされたREPLACE_REGEXPR機能を行い、常に異なる文字列で最初の(次の)残りの試合を置き換えることができます。

SELECT REPLACE_REGEXPR 
     ('&' IN REPLACE_REGEXPR 
       ('&' IN REPLACE_REGEXPR 
         ('&' IN 'extends the functionality & of the & REPLACE function & by' 
         WITH 'one' OCCURRENCE 1) 
       WITH 'two' OCCURRENCE 1) 
     WITH 'three' OCCURRENCE 1) "replace_regexpr" 
FROM DUMMY; 
関連する問題