Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: nls_length_semantics anyone see this before (repeat e-mail)
You could change your DDL to always explicitly specify byte or char,
e.g.
create table test (v1 varchar2 (10 char)) ;
Or
create table test (v1 varchar2 (10 byte)) ;
My opinion is that the explicit specification is the safest approach in
the long run.
Thank you for informing the list of the bug.
-----Original Message-----
Fuad Arshad
yes,
thats true but as we just found out this is a BUG
the description is as below and as helpful as oracle always is its not
fixed till 10gR2
[BUG:1488174] UNICODE: ALTER SYSTEM SET NLS_LENGTH_SEMANTICS DOESN'T
TAKE EFFECT
(this is an internal bug, sorry)
Fixed Ver(s): will not be fixed before 10g R2
Testcase:
alter system set nls_length_semantics='CHAR' create table test(v1 varchar2(10));it should be 10 character, but actually, it is 10 BYTE; Workarounds:
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Fri May 21 2004 - 14:36:39 CDT
-----------------------------------------------------------------
![]() |
![]() |