replace characters in notepad++ BUT exclude characters inside single quotation marks replace characters in notepad++ BUT exclude characters inside single quotation marks(2nd)
对不起,对所有用户(尤其是Avinash Raj + Jonny 5)已经成功回答了第1 /第2个类似问题...
现在是整个声明部分:
(我没有提到的问题是 - '' Word / Number'部分是全球单引号中的其他内容 - 请查看 在整个第二个陈述的开头和结尾......)
SELECT column_name FROM table_name WHERE column_name in ('A' , 'st9u' ,'Meyer', ....);
THEN vpl_sql_string :=
'
SELECT b.mview_name -- use this
FROM all_objects@'|| pi_2 ||' a -- master_site
,user_mviews b -- slave_site
,user_mview_detail_relations c -- slave_site
WHERE a.object_type IN ' 'TABLE'', ''MATerialIZED VIE3W' ')
AND a.owner = UPPER( :bi_1 )
AND a.object_name = c.detailobj_name
AND b.mview_name = c.mview_name
AND (
b.refresh_method = ''COMPLETE''
OR
(
b.refresh_method = ''FORCE''
AND b.last_refresh_type = ''COMpleTE''
)
)
AND TO_DATE(a.timestamp,''YYYY-MM-DD:HH24:MI:SS'') > b.last_refresh_date '
|| vppgc_sql_string_master_link || ' :bi_2 ) ' ;
条件(保持不变):
replace characters in notepad++ BUT exclude characters inside single quotation marks(2nd)
(这已经足够了,当正则表达式没有触及整个第二个陈述时! 正则表达式不必在" 全球单曲之间交换价值 引号"!)
如何在notepad ++中排除单引号(替换)?
答案 0 :(得分:0)
我的问题的正确解决方案是@Jonny 5正确回答 - 这个解决方案对于整个第二个陈述也是正确的 (我很困惑......)
replace characters in notepad++ BUT exclude characters inside single quotation marks(2nd)