Case insensitive searching in Oracle

前端 未结 6 562
予麋鹿
予麋鹿 2020-11-22 16:52

The default behaviour of LIKE and the other comparison operators, = etc is case-sensitive.

Is it possible make them case-insensitive?

6条回答
  •  悲&欢浪女
    2020-11-22 17:33

    select user_name
    from my_table
    where nlssort(user_name, 'NLS_SORT = Latin_CI') = nlssort('%AbC%', 'NLS_SORT = Latin_CI')
    

提交回复
热议问题