首页 > 技术文章 > oracle 正则表达式 非字母 非数字

shuihaya 2020-07-03 21:33 原文

    Update ods_qad_cust_ar s
       Set s.customer = regexp_replace(customer,
                                        '[^[:alpha:]|^[:digit:]]',
                                        '');
                                       
         Update ods_qad_cust_aP s
       Set s.SUPPLIER = regexp_replace(SUPPLIER,
                                        '[^[:alpha:]|^[:digit:]]',
                                        '');
                                       

 

 

 

 

 

 

 

推荐阅读