How to know whether my oracle 10g instalation in unicode supported or not
Hi
i am new to oracle. I have installed Oracle 10g client and server.
I want to know whether the database created can store unicode data/arabic data.
Please guide me how can i find whether unicode support is on for my db or not.
The outputs of some of the queries run by me are as follows:
SQL> HOST ECHO $NLS_LANG;
$NLS_LANG
SQL> HOST ECHO %NLS_LANG%;
%NLS_LANG%
SQL> @.[%NLS_LANG%];
SP2-0310: unable to open file ".[AMERICAN_AMERICA.WE8MSWIN1252]"
SQL> select cust_eng_name,cust_arb_name from custmast;
select cust_eng_name,cust_arb_name from custmast
ERROR at line 1:
ORA-00942: table or view does not exist
Please reply me asap.
user10817093 wrote:
1. Yeh that is the thing I want. What are the other steps that i need to do with my Oracle Client/Server for unicode support.
Where i am getting trouble is the Oracle Client/Server unicode support.
And how to decide what character set will suite me best.1. If your application is going to be a "true" Unicode application, you can set the NLS_LANG registry/environment setting on your clients to ".UTF8" to enable true Unicode support.
2. Your database needs to support Unicode, too.
The recommended database character set for this in 10g is "AL32UTF8".
If you currently have a single-byte database character set (WE8MSWIN1252), you need to decide how to get this done.
If you can simply create a new database using the "AL32UTF8" character set, this would be the easiest way.
There are several documents available (e.g. on Oracle MetaLink) that describe in detail how to convert the character set of an existing database. Depending on your data this can be a tedious task involving several steps, so may be creating a new database and exporting/importing the data might be the simplest choice if you need to migrate some existing data.
The recommended national character set is "AL16UTF16", by the way, but that shouldn't matter that much once you have a Unicode enabled database using "AL32UTF8" as database character set.
2. How to set/retrive the "Database Character Set" and "National Character Set". This has already been answered partly. Retrieve:
Database Character Set:
SELECT VALUE FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET';National Character Set:
SELECT VALUE FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_NCHAR_CHARACTERSET';In most of the cases you can't just simply set/alter the character sets, as outlined above.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/
Similar Messages
-
How to know whether database(oracle) is up and running at OS level
how to know whether database(oracle) is up and running at OS level...!!!
depends on the O/S you are using, Unix or Windows? I would use Korn shell script to monitor the Oracle background process and scripts to check of Oracle is accepting connections.
This UNIX command will show the number of processes for your instance:
ps -ef|grep $ORACLE_SID|grep -v grep|grep -v ora_|wc u2013l
In Windows I would look into services.msc -
Hi all, can anyone tell me how to write a C# code help me to know whether the given field exists.
If it doesnt exists then i want to alter the table to include this column also
I am able to write the code for alter table but i m not sure how do i check for its existence/nonexistence
My Altering code
{color:#800000}cmd.CommandText = "alter table " + row.ToString() + " add(" + sQuality + " varchar2(50), " +
sTimeStamp + " varchar2(50), " +
sValue + " varchar2(50))";
cmd.CommandType = CommandType.Text;
cmd.ExecuteReader();
{color}Just iterate the datatable after completion and check for your column.
public static DataTable MaterializeTableStructure(string _connectionString, string _tableName)
DataSet ds = null;
using (OracleConnection _oraconn = new OracleConnection(_connectionString))
try
_oraconn.Open();
string sql = "SELECT COLUMN_NAME, DATA_TYPE, NULLABLE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE FROM user_tab_columns where table_name='" + _tableName + "'";
using (OracleCommand cmd = new OracleCommand(sql, _oraconn))
cmd.CommandType = CommandType.Text;
using (OracleDataAdapter da = new OracleDataAdapter(cmd))
ds = new DataSet("MaterializeTableStructure");
da.Fill(ds);
catch (OracleException _oraEx)
throw (_oraEx); // Actually rethrow
catch (System.Exception _sysEx)
throw (_sysEx); // Actually rethrow
finally
if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
_oraconn.Close();
if (ds != null)
return ds.Tables[0];
else
return null;
}r,
dennis -
How do i know whether flash player is installed on client browser or not through code.
I want to use Adobe flash player in my web page.
But If the adobe flash plyer is not installed at client side, it won't work.
So how do i Know if the adobe flash player is installed or not on client side on linux or windows machine through the code.
ad if flash player is not installed i would give another option for that client.
Is there any thing(API etc.) to know it, so i could think to use flash player for my web site.
I am going to use "perl" language for development.
Waiting for reply...I want to use Adobe flash player in my web page.
But If the adobe flash plyer is not installed at client side, it won't work.
So how do i Know if the adobe flash player is installed or not on client side on linux or windows machine through the code.
ad if flash player is not installed i would give another option for that client.
Is there any thing(API etc.) to know it, so i could think to use flash player for my web site.
I am going to use "perl" language for development.
Waiting for reply... -
How to know whether alternate layout is created on a document or not?
Hi,
I'm working on a plugin for InDesign CS6 and need to find out whether a particular document has alternate layout applied on it or not. Secondly I also want to get the notification whenever alternate layout is being created on a document.
Can anyone please help me out.I'm not into the SDK, but according to the Javascript DOM, alternate layouts are part of Sections -- the section property 'alternateLayoutLength', for example, is "[t]he number of pages in the alternate layout section".
Perhaps that gives you a clue of where to look? -
How to know whether a file is opened or not ?
Hi all,
How to know whether a file is opened by its editor or not ? File may be any of the type.There are platform-dependent commands that tell whether a file (or directory, port etc.) is used by which processes.
[oracle@izsak ~]$ fuser .
.: 9299c
[oracle@izsak ~]$ ps -p 9299 -f
UID PID PPID C STIME TTY TIME CMD
oracle 9299 9298 0 Apr25 pts/0 00:00:00 -bash
[oracle@izsak ~]$ ls -l $fn
-rw-r----- 1 oracle oinstall 111215876 Apr 25 19:05 /opt/oracle/product/AS/10g/R2/opmn/logs/OC4J~ebank~default_island~1
[oracle@izsak ~]$ fuser $fn
/opt/oracle/product/AS/10g/R2/opmn/logs/OC4J~ebank~default_island~1: 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3758 3761 3762 3765 3767 3769 3770 3771 18638 21605 21743 21744 21745 22140 22143
[oracle@izsak ~]$ ps -p 3746 -f
UID PID PPID C STIME TTY TIME CMD
oracle 3746 26427 0 Apr23 ? 00:00:01 /opt/oracle/product/AS/10g/R2/jdk/bin/java -server -Djava.security.policy=/opt... -
How to know whether the installed Oracle is 32 bits(or 64 bits)?
I have installed Oracle 8.1.6 on HP-UX 11(64 bits OS ), But I dont know whether the oracle is 64 bits.
How can I get to know it?
Thanks!
nullHi, This is late though, but to let you know that Oracle 8.1.6 is 64-bits
Duronke
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by zhihui zu ([email protected]):
I have installed Oracle 8.1.6 on HP-UX 11(64 bits OS ), But I dont know whether the oracle is 64 bits.
How can I get to know it?
Thanks!
<HR></BLOCKQUOTE>
null -
How to use iframes in oracle 10g
I have to load two jsp pages in a single html . I have done that thru iframes. But i have to dynamically load the second jsp page in the frame 2 , when the user clicks upon certain details in the frame 1 jsp page. I have wriiten the code of document.iframe in format trigger attribute. It doesn't work. Is there any other way to achieve this. I want to load the frame 2 jsp page dynamically , according to the input i get from frame 1 jsp page.
Hi,
>>Anybody know how to use profiler in oracle 10g
What do you mean "profiler". About Resource Limits/Create Profiles ?
>>i couldn't able to install the enterprise manager console.
What OS ?
>>because i need to trace the execution of a stored procedure.waiting the reply.
Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
Cheers -
How to Use Profiler in ORACLE 10g
Hi all,
Anybody know how to use profiler in oracle 10g and also i couldn't able to install the enterprise manager console.is there any tools available for that.because i need to trace the execution of a stored procedure.waiting the reply.
SathishHi,
>>Anybody know how to use profiler in oracle 10g
What do you mean "profiler". About Resource Limits/Create Profiles ?
>>i couldn't able to install the enterprise manager console.
What OS ?
>>because i need to trace the execution of a stored procedure.waiting the reply.
Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
Cheers -
How to delete client from oracle 10g ASM
Hi,
I would like to know how to delete client from oracle 10g ASM, while configuring Dataguard in same windows os i have by mistake created the standby in ASM.
However later i have corrected the datafile destination. My Primary database is in ASM and the standby in disk.
Could anyone please tell me how do i delete the client from ASM. On view from asmcmd it shows db_unknown and from v$asm_client
GROUP_NUMBER INSTANCE_NAME
DB_NAME STATUS
SOFTWARE_VERSION
COMPATIBLE_VERSION
1 stby
stby CONNECTED
10.2.0.1.0
10.2.0.1.0
Thanks and regards,
shaanHi Deepak,
Pls see the result from the view, i wanted to delete stby
SQL> select * from v$asm_client;
GROUP_NUMBER INSTANCE_NAME
DB_NAME STATUS
SOFTWARE_VERSION
COMPATIBLE_VERSION
1 prim
prim CONNECTED
10.2.0.1.0
10.2.0.1.0
2 prim
prim CONNECTED
10.2.0.1.0
10.2.0.1.0
1 stby
stby CONNECTED
10.2.0.1.0
10.2.0.1.0
regards,
shaan -
How to export AWM in Oracle 10g
Hi All,
Im doing export of my Analytical Workspace with option tables=AW$TEST, this command failed and thrown EXP-00055: CALLDETAIL_TEST.AW$TEST is marked not exportable, i checked NOEXP$ table and i can find my AW name in it, according to table definition i cann't perform export of those objects listed in NOEXP$ table right, I want to know from you pals how can i export AW and then import it ?
Need your feedback asap.
Thanking you pals in advance
Hassan khanAbhii wrote:
How to store image in Oracle 10g?
any example ?http://www.google.co.in/search?rlz=1C1GGLS_enIN321IN321&sourceid=chrome&ie=UTF-8&q=How+to+store+image+in+Oracle
HTH
Aman.... -
Hi,
How to know whether the Content Type at Library level is Inheriting Parent Content type or not using Powershell?
Is there any property for that? Or Do I need to compare the Content type Id's at Site collection level and Library level?
Any help would be greatly appreciated.
Thank you,
AA.Hi Ashok,
For a content type, there is an attribute called Inherits, the value of this attribute determines whether the content type inherits fields from its parent content type when it is created.
If Inherits is TRUE, the child content type inherits all fields that are in the parent, including fields that users have added.
If Inherits is FALSE or absent and the parent content type is a built-in type, the child content type inherits only the fields that were in the parent content type when SharePoint Foundation was
installed. The child content type does not have any fields that users have added to the parent content type.
More information, please refer to the link:
https://msdn.microsoft.com/en-us/library/office/aa544268.aspx?f=255&MSPPError=-2147217396
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to know whether the current database is using a password file or not?
How to know whether the current database is using a password file or not?
The remote_password_file is the parameter that determines if you can use or not a password file. The values this parameter can have are NONE, SHARED, EXCLUSIVE. It is pretty obvious, if it is set to either SHARED or EXCLUSIVE the oracle instance has enabled the access through a password file for the SYSDBA and SYSOPER roles.
~ Madrid -
How to know RAC 11g R2 is installed Using Local User or Domain User on Win
We need to identify whether a local User or a domain User is Used to install 11g R2 Clusterware on Windows 2008.
Here is background:
Oracle 11g R2 RAC is configured on 2 windows 2008 servers.
User "oracle" is used to installed that RAC but we dont know whether local "oracle" user or domain "oracle" user is used to install this RAC.
"oracle" user is present in both the servers as a local user as well as a domain user.
Due to security reasons we need to remove this local "oracle" user but without knowing which user is installation user for rac we cant remove as this will disturb whole rac setup.
Please sugest me some solution ......Right click on any folder from oracle home -> Security (tab) -> Advance -> Owner.
This will show you who owns this folder and that should be the user who did this installation. You may see 2 users where, one will be local administrator and second one will be the user who did installation.
Salman -
How to know whether my system is J2EE compliant or not?
How to know whether my system is J2EE compliant or not?
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)Is my box J2EE compliant?Trust me - I've been developing on an XP box for years and Java 1.6 for a good amount of time. This has been using Tomcat, JBoss, and Glassfish (and I try hard to forget about Oracle OC4J). These are application servers that implement part (Tomcat) or all (the rest) of the J2EE specification.
Having said that, you'll want at least 2GB of RAM and a hundred or so megabytes of disk space. Less RAM will work but slowly. A reasonable processor (I'd say at least 1.5GHz or above) will speed development.
Maybe you are looking for
-
How can I access the namedCache
Hi, As you know we can access the Oracle Coherence cache within CEP by using setMap procedure. This procedure only gives us a Map object. And we can load the coherence cache with this map object. But we should get the memberId and memberName of the c
-
How to get and save the incoming filename in to db in biztalk.
Hi, I need to save the incoming file name in to a table in biztalk. Below are the steps which are needed 1) Need to get the incoming file in orchestration 2) Map the incoming file in to field from source to destination schema(db) - such that file nam
-
How to capture System MAC address On internet
Hi, I am doing internet based application. I want to capture user system MAC address when ever user is logged in to my application over internet. So please tell me how i can capture users mac address. please help me.. with out this i cant i go furthe
-
None of the changes I make to system preference or the dock will hold after restart. I've cleared the RAM, run disk repair and reinstalled the OS. Now what?
-
IOS 8 double tap allows other device with same Apple login to see who other is messaging
I have two iPhones with the same AppleID account. The iMessaging for each device is set to only send or receive message and FaceTime from the phone number for each device to keep them separate. If device A is in a text message and the home button o