Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I alter the parameter nls_sort

1,262 views
Skip to first unread message

gzja...@gmail.com

unread,
Jun 23, 2008, 4:59:37 AM6/23/08
to
I used "alter system set nls_sort = binary_ci scope = spfile" to
change the default value of the parameter nls_sort.Then I restarted
the service of the database instance.I saw the instance value has
changed.Now the problem is when I create a new connection the value of
nls_sort was not binary_ci but binary.I don't know why the session
value was not changed.

any advice will be appreciated!

Thanks a lot
Jack.Lee

sybr...@hccnet.nl

unread,
Jun 23, 2008, 8:37:42 AM6/23/08
to

Instance settings can be, and usually are, overridden by session
specific values.
Oracle always sends a series of alter session statements immediately
after logon.
Those can be changed by setting a registry string value in the correct
hive for Windows, or by setting an environment variable on Unix in
your .profile.
You can also use an execute immediate statement in an after logon
database trigger.

Hth

--
Sybrand Bakker
Senior Oracle DBA

gzja...@gmail.com

unread,
Jun 24, 2008, 3:40:36 AM6/24/08
to
On Jun 23, 8:37 pm, sybra...@hccnet.nl wrote:

I used an after logon trigger.It's done!

Thank u very much!
Jack.Lee

fastb...@gmail.com

unread,
Dec 8, 2014, 8:52:50 AM12/8/14
to
Jack, Can you post the code for your trigger ?
Thanks
-Sam

joel garry

unread,
Dec 8, 2014, 11:42:18 AM12/8/14
to
You do realize you are responding to a six year old post?

jg
--
@home.com is bogus.
http://www.theregister.co.uk/2014/12/05/oracle_zfs_filer/

Noons

unread,
Dec 8, 2014, 6:53:43 PM12/8/14
to
On 9/12/2014 3:42 AM, joel garry wrote:

>>
>> Jack, Can you post the code for your trigger ?
>> Thanks
>> -Sam
>
> You do realize you are responding to a six year old post?
>
> jg
>

slowbowler, if you ask me...
0 new messages