How to Replace Multiple Characters in Access SQL?

前端 未结 9 2278
北海茫月
北海茫月 2020-12-12 03:16

I\'m a novice at SQL, so hopefully someone can spell this out for me. I tried following the \"Replace Multiple Strings in SQL Query\" posting, but I got stuck.

I\'

9条回答
  •  旧巷少年郎
    2020-12-12 03:44

    
    SELECT 
    IIF
    (
        Instr(1,ShipToPlant , "#") > 0 
        OR Instr(1,ShipToPlant , "/") > 0 
        OR Instr(1,ShipToPlant , "-") > 0, ""
        , ShipToPlant 
    )
    FROM BTST
    
    

提交回复
热议问题