在波斯语中,“KAF”(ک,ك)和“YA”(ی,ي)有不同的字母,有不同的unicode码和相同的拼写。
我使用这些命令在我的项目中设置波斯语排序和比较。
ALTER SESSION SET nls_sort=persian;
ALTER SESSION SET nls_comp =linguistic; 通过设置nls_comp和nls_sort参数,我接收这些输出
select first_name from customer
where first_name like '%ك'; -- with result
select first_name from customer
where first_name like '%ک';--with no result如何为这些查询接收相同的输出?我可以定制nls_comp吗?
发布于 2013-09-15 07:15:24
我认为Oracle Locale Builder实用程序是您想要的工具。这个实用程序的10.2版本(因为您使用了oracle-10g标记)上的文档如下:http://docs.oracle.com/cd/B19306_01/server.102/b 14225/ch13 custlocale.htm
https://dba.stackexchange.com/questions/49901
复制相似问题