Re: Question on storing non english character

From: Powell, Mark <mark.powell2_at_dxc.com>
Date: Wed, 25 Aug 2021 14:46:38 +0000
Message-ID: <BN6PR01MB2547FAD0112C00A0B261A70FCEC69_at_BN6PR01MB2547.prod.exchangelabs.com>



Last I knew, "Oracle recommends that you leave this initialization parameter undefined or you set it to BYTE." This recommendation can be found in Database Globalization Support Guide. Check your version.

Changing the parameter at the database level can impact existing applications. When creating objects, you can either change the parameter at the session level or code the table column definitions to explicitly specify character instead of BYTE.

Mark Powell
Database Administration
(313) 592-5148



From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> on behalf of Pap <oracle.developer35_at_gmail.com> Sent: Wednesday, August 25, 2021 10:10 AM To: Oracle L <oracle-l_at_freelists.org> Subject: Question on storing non english character

Hello Listers, We are getting some requirements in which many of the attributes in our database may need to cater to non english/multi byte characters. Currently we have the defaults setup as bytes at the database level. Which means if we create any attribute with varchar2(N) it defaults to varchar2(N bytes). And existing attributes are defined the same way , say e.g varchar2(N bytes). so they have to be varchar2(N char) to work without fail.

My question is , if there exists any downside if we set it(CHAR) as default at the database level? or say by default create all the new table columns as VARCHAR2(N CHAR)?

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 25 2021 - 16:46:38 CEST

Original text of this message