Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: NLS_LANG

Re: NLS_LANG

From: Morten Primdahl <morten_at_caput.com>
Date: Fri, 28 Jan 2000 13:55:48 +0100
Message-ID: <389191D4.2BB5ABCF@caput.com>

Great, thanks. Just one problem, it doesn't work with stuff I want to be case insensitive, eg:

SQL> create table temp (stuff varchar2(20));

Table created.

SQL> insert into temp (stuff) values ('kųje');

1 row created.

SQL> select * from temp where stuff like LOWER('%K%');

STUFF



kųje

SQL> select * from temp where stuff like LOWER('%Ų%');

no rows selected

SQL> select 'drat' from dual;

...Morten

Gorm Larsen wrote:
>
> In article <38900FBB.949AF5D1_at_caput.com>, morten_at_caput.com says...
> > Are the other ways to set NLS_LANG than by setting
> > an environment variable? First, I had
> > NLS_LANG=Danish.WE8ISO8859P1 which should allow
>
> Take a look at the documentation for NLS* parameters.
>
> Put:
> NLS_LANGUAGE = Danish
> NLS_TERRITORY = Denmark
> NLS_DATE_LANGUAGE = Danish
> NLS_DATE_FORMAT = 'DD/MM-YYYY'
> in your Init????.ora file and restart the database
> or use Alter session set nls_???? = Danish
>
> --
> Gorm Larsen

--

Morten Primdahl		Caput ApS	Tel +45 33 12 24 42		
morten_at_caput.com	Nygade 6	Fax +45 33 91 24 42
http://www.caput.com	DK-1164 Kbh K
Received on Fri Jan 28 2000 - 06:55:48 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US