Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NLS settings

788793Jul 2 2012 — edited Sep 3 2012
Hi All,

Using Oracle 11gr2 on RHEL6.

Having a issue with NLS parameters.

I have used a DB Trigger to set the NLS parameters to set my searches case-insensitive;
conn test/test1;

create or replace trigger nls_set 
after logon on schema  
begin  
EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_COMP=LINGUISTIC';  
EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_SORT=BINARY_CI';  
end nls_set;  
/  

After executing some queries, checking from nls_session_parameters found that NLS_COMP = 'BINARY' to the default value. The db trigger setting is  not persistent.
I have tried setting at system level <alter system...scope=spfile>. though the parameters show the proper value, case-insensitive not working;

Any help appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2012
Added on Jul 2 2012
11 comments
1,182 views