dbTalk Databases Forums  

How can I alter the parameter nls_sort

comp.databases.oracle.server comp.databases.oracle.server


Discuss How can I alter the parameter nls_sort in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gzjacklee@gmail.com
 
Posts: n/a

Default How can I alter the parameter nls_sort - 06-23-2008 , 03:59 AM






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

Reply With Quote
  #2  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM






On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #3  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM



On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #4  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM



On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #5  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM



On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #6  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM



On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #7  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM



On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #8  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-23-2008 , 07:37 AM



On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjacklee (AT) gmail (DOT) com wrote:

Quote:
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
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


Reply With Quote
  #9  
Old   
gzjacklee@gmail.com
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-24-2008 , 02:40 AM



On Jun 23, 8:37*pm, sybra... (AT) hccnet (DOT) nl wrote:
Quote:
On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjack... (AT) gmail (DOT) com wrote:
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

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
I used an after logon trigger.It's done!

Thank u very much!
Jack.Lee


Reply With Quote
  #10  
Old   
gzjacklee@gmail.com
 
Posts: n/a

Default Re: How can I alter the parameter nls_sort - 06-24-2008 , 02:40 AM



On Jun 23, 8:37*pm, sybra... (AT) hccnet (DOT) nl wrote:
Quote:
On Mon, 23 Jun 2008 01:59:37 -0700 (PDT), gzjack... (AT) gmail (DOT) com wrote:
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

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
I used an after logon trigger.It's done!

Thank u very much!
Jack.Lee


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.