About xe database charecter

i installed 10g express db,when i created table but after insert data oracle prompt error!!
table statment:
create table test (text varchar2(2));
sql statment:
insert into test values('是');
error message:
insert into test values('是')
ERROR at line 1:
ORA-12899: value too large for column "SYSTEM"."TEST"."TEXT" (actual: 4,
maximum: 2)
OS:WIN2003 Server TRADITIONAL CHINESE
oracle express:universal
oracle parameters:
NLS_CHARACTERSET AL32UTF8
NLS_LANGUAGE TRADITIONAL CHINESE
NLS_NCHAR_CHARACTERSET AL16UTF16
please help me .....tks.
ps.i am taiwaness,so my english not good...:(

The character value you are trying to insert needs 4
bytes but column is limited to 2 (value too
large...).
Try instead:
create table test (text varchar2(4));
and retry the same insert statement.because i want to create test db so the table schema must same as production table schema,so i cant change the table schema.
OS:WIN2003 Server TRADITIONAL CHINESE
NLS_CHARACTERSET AL32UTF8 What is your client NLS_LANG setting?i tryed after setting , still have same problem.
TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
TRADITIONAL CHINESE_TAIWAN.ZHT16MSWIN950
TRADITIONAL CHINESE_TAIWAN.AL32UTF8
thank your response.

Similar Messages

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • Question about import database pk, fk

    Hi
    I want to ask a question about imported database. I imported database and I noticed tables doesnt have Primary key or foreign key. They havent relation between eachs. Why can this occured ?
    is it about import or another something?

    yeah ı am surprised none of tables have pk or fk ..
    but ı want to show you http://i51.tinypic.com/2hedc9d.jpg
    what is blue shapes in there ?
    can be foerign keys ?

  • ORA-01578 about standby database in read only mode

    Hi,
    I have an ORA-05178 (data block corrupted) about a standby database which in read-only mode. About production database, there is no problem.
    After analyze, this is an index segment :
    SELECT segment_name , segment_type , owner , tablespace_name
    FROM sys.dba_extents
    WHERE file_id = 58
    AND 218173 BETWEEN block_id and block_id + blocks -1
    SEGMENT_NAME SEGMENT_TYPE OWNER TABLESPACE_NAME
    SICINHIS01 INDEX MOWIN IDX_DATA01
    There is no constraint.
    How can I repair this problem ?
    Nicolas

    Hi,
    I have an ORA-05178 (data block corrupted) about a standby database which in read-only mode. About production database, there is no problem.
    After analyze, this is an index segment :
    SELECT segment_name , segment_type , owner , tablespace_name
    FROM sys.dba_extents
    WHERE file_id = 58
    AND 218173 BETWEEN block_id and block_id + blocks -1
    SEGMENT_NAME SEGMENT_TYPE OWNER TABLESPACE_NAME
    SICINHIS01 INDEX MOWIN IDX_DATA01
    There is no constraint.
    How can I repair this problem ?
    Nicolas

  • What is so good about Oracle Database?

    Dear Sir,
    The project that I'm working on is using Oracle database. Therefore, I don't have not much experience in other rdbms.
    Sometime my customer ask, what is so good about oracle compare to others like ms sql server, sybase, informix, mysql and so on.
    So, hope someone can give some distinctive strength about Oracle database. This is important for me as well as customer so that we can understand that why using Oracle database is the right choice.
    Please advise.
    Thanks.

    i use napster to discover new music. if i really like it, i track down the CD. 28k wma's or mp3s or whatever sound pretty bad. you're not right about them sounding like cassettes. i think you are forgetting just how bad cassettes sound. most 28k's i've heard sound better then cassettes, but paying $9.99 for 28k tracks....NO WAY. $3 for 28ks? sure the upside of 28ks over cassettes tho is the fact that you can transfer the files around from player to player and mp3s dont get stretched out in the sun :smileyvery-happy:

  • Script to collect basic information about a database

    Hi,
    I recently started working at a new place, with lots of Oracle Databases.
    I have need for a nice script for collecting basic information about this databases. A few years ago I found some scripts at Metalink for this, but now I can´t find any....
    Anyone who could point out where to find this?
    Best Regards //Björn

    You can use Statspack. You have the most important information and you have an overview of how the database performes.
    Bye, Aron

  • About the Database Solution

    Hello experts, I got a quetion about the Database Solution, I installled the Solution manager 7.0 EHP1 SP24, the service desk is now working, but I dont know how to put in operation the Database Solution. I have to install the TREX in the NW server and connect it to the Solution Manager?? or I can use the IS01 transaction in order to create solutions?, I have no clue here so i would like to know which one is the right step in order to have a Database Solution running in my Solution Manager.
    Thanks,
    Paul Hurtado

    Hello Paul,
    Please review this Blog.
    /people/dolores.correa/blog/2007/10/06/service-desk-solution-database
    Regards,
    Paul

  • Few questions about upgrading database

    Hi everyone,
    greetings of the day
    I have few questions about the upgrading database,
    In export and import mode
    1.can we have new name for the target database,
    2.I think we need to create tablespaces ,do we need to create users as well
    3.If we are upgrading from 9i to 10g database ,any activity to be perfromed other than creating a new sysaux tablespace
    4.How come we get consistent export
    In DBUA mode ( in the same machine only)
    1.Do we need shutdown / startup restrict the database
    2.How can we move the files to the new location
    3.Can we change db_name of the database
    4.Can we use the old database as well
    In manual upgration using catupgrd scripts
    1.Can we rename the db_name
    2.can we use old database as well
    3.how to move the database files to the new location
    4.can we perform this kind of upgrade on a different server
    5.when we startup upgrade in the new home ,how it identifies the old database in-order to upgrade the old one
    Thanks

    udayjampani wrote:
    Hi everyone,
    greetings of the day
    Pl post details of source and target database versions, along with your OS details.
    I have few questions about the upgrading database,
    In export and import mode
    1.can we have new name for the target database,Yes.
    2.I think we need to create tablespaces ,do we need to create users as wellYou can create users, but it is not necessary. You need to pre-create tablespaces only if their characteristics/locations on the target are different than on the source.
    3.If we are upgrading from 9i to 10g database ,any activity to be perfromed other than thisNot that I am aware of - see the steps in the Upgrade Guide - http://docs.oracle.com/cd/B19306_01/server.102/b14238/expimp.htm
    4.How come we get consistent export wetherEnsure the database is started in restricted mode, so users will not be able to access the database during the export.
    >
    In DBUA mode ( in the same machine only)
    1.Do we need shutdown / startup restrict the databaseNo - DBUA will do this automatically for you.
    2.How can we move the files to the new locationYou can after the upgrade move the datafiles to wherever you want - use the ALTER DATABASE RENAME DATAFILE (http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_1004.htm#i2082829) command.
    3.Can we change db_name of the databaseI do not believe this is possible with DBUA.
    4.Can we use the old database as wellNo - the database will be upgraded by DBUA - there is no "old" database.
    >
    >
    In manual upgration using catupgrd scripts
    1.Can we rename the db_nameYes.
    2.can we use old database as wellNo - the scripts will upgrade the database - there is no "old" database.
    3.how to move the database files to the new locationSee above.
    4.can we perform this kind of upgrade on a different serverPl elaborate on what you mean by this. You can copy the existing database to a different server (assuming compatible OS) and upgrade it there.
    >
    >
    ThanksHTH
    Srini

  • Question about Oracle Database 11g: Program with PL/SQL

    Hello,
    I've read that:
    This course is a combination of Oracle Database 11g: PL/SQL Fundamentals and Oracle Database 11g: Develop PL/SQL Program Units courses.
    In order to preparing for this exam, i should read the student guide, so there are 4 pdf files. One is Oracle Database 11g: PL/SQL Fundamentals, and the other 3 are regarding to Oracle Database 11g: Develop PL/SQL Program Units (volume I, II and III). My question is, regarding to this last one (Oracle Database 11g: Develop PL/SQL Program Units), which volume should i read? I saw that volume I has 400+ pages, and the IIIrd ~80.
    Which document should i read? What's the difference between them?
    Thanks!

    Passing the exam and becoming certified are not a matter of simply reading a book or taking a training class. While books and classroom materials as well as in-class training are all important steps in preparing for an exam, experience and research are just as important. I cannot tell you that there are 53 questions on the exam and every single question maps directly back to page 13, paragraph 3 in XX book. However, If you have the classroom material, and you have the list of exam topics, you should be able to find most of the information you need. In some cases, if you are not completely familiar with a specific topic, or you don't feel like the information in the book gives you all the information you need, you may need to do a little additional research. This is all part of preparing for an exam. This process is what makes you successful as a certified professional.
    Your focus seems to be solely on the course materials that you have and what volumes and chapters you should read. I'm trying to give you a different perspective - preparing for an exam is not necessarily about taking one course or reading one book and being ready. You need to review the exam topics and be sure that you are familiar with each topic.
    Regards,
    Brandye Barrington

  • Question about using database links in Forms 10g

    I have a form that uses a database link for the "Query Data Source Name," i.e. it is set to some_view@some_db_link
    For some reason when I run a query using the DB link the query takes approximately 30 seconds. When I remove the link and go local the query takes about one second. Has anybody observed and addressed this issue before (without going local of course)?
    Thanks,
    Thomas

    Let me first say that it is never a good idea to use a db link in the data source. It is better to create a synonym in the database and use this as the data source. If the db link changes, you only have to do this in the database, without recompiling forms.
    create synonym some_view for some_view@some_db_link
    This may already solve your problem. If not, than see if the query is also slow in sqlplus. You may have a problem in your connection between the two databases.

  • Help about web database query _Thanks

    Hi
    I have a j2ee web application with oracle database.
    I finish the function implementation by put all caculaton inside oracle query ( funciton (todayData - avg(historical data )) / std(historical data) and using group by and sub query .but performance is very slow about 3 minute whick is far from client's 10 second requirement.
    My question is if I take raw data from database and do the caculation part in Java will it be faster. Is there some other way to speed up the process?(historical data is big)
    Thanks for your time and help

    My question is if I take raw data from database and
    do the caculation part in Java will it be faster. Is
    there some other way to speed up the
    process?(historical data is big)My initial reaction would be no, you should focus on opportunities to tune the SQL within Oracle. If you are talking about large volumes of data, pulling that data across a network or even through memory structures will only slow you down. Don't look for nits, look for changes that will have significant impact on performance, this could be creation of a new index, perhaps a bitmap index for performance, it could be simplifying the query by nesting queries rather then using sub-selects, based on the volume of data materialized views may be in order.
    I really believe that focusing on Oracle will be the quickest solution for you to implement and has the best of chance of improving the performance to meet your users demands.
    Having said that...
    Given the scale of the problem, you may want to consider re-architecting the work that is being done by the query. This may include a hybrid solution that includes Oracle providing smaller subsets of data (lists) that can be quickly returned to the program and are in turn used as part of an ensuing query. This suggestion is different then pulling the raw database data into the application in that you are only pulling small amounts of data across the network. A hybrid solution, can be a very effective algorithm when combined with proper and efficient JDBC coding.
    This is all pretty vague I know, but since I haven't seen your code or query it is difficult to be specific.

  • Question about B1if-Database in SQL-Mgmt-Studio

    Hello,
    We have made some changes in the configuration in SLD.
    We made some more Di-Proxy-Ports and then made Proxygroups for the Databases.
    Nearly every half hour, in SQL-Mgmt Studio we can see this "task" ?
    During the time, this task is online, the Queue-Monitor collects all Jobs... but not more.
    After this Job has finished... B1i begins to work up the jobs.
    Can anyone tell me something about "Rollback Transac" in  B1if-Database ?
    Thanks
    Markus

    Passing the exam and becoming certified are not a matter of simply reading a book or taking a training class. While books and classroom materials as well as in-class training are all important steps in preparing for an exam, experience and research are just as important. I cannot tell you that there are 53 questions on the exam and every single question maps directly back to page 13, paragraph 3 in XX book. However, If you have the classroom material, and you have the list of exam topics, you should be able to find most of the information you need. In some cases, if you are not completely familiar with a specific topic, or you don't feel like the information in the book gives you all the information you need, you may need to do a little additional research. This is all part of preparing for an exam. This process is what makes you successful as a certified professional.
    Your focus seems to be solely on the course materials that you have and what volumes and chapters you should read. I'm trying to give you a different perspective - preparing for an exam is not necessarily about taking one course or reading one book and being ready. You need to review the exam topics and be sure that you are familiar with each topic.
    Regards,
    Brandye Barrington

  • Your experience about Standby Database (Logical).

    Hi,
    As expressed in the subject of the thread, I'd like to get some feedback about Logical Standby.
    One of the databases (A) here has a setup with a Physical Standby (B). In order to lighten the workload on A, i want to "upgrade" B to a Logical Standby. The procedure is already defined, tested and functionnal. But as I never managed a Logical Standby, it would be great if you could share your experience about:
    1/ A's workload: Will there be a big overhead due to log treatments (and supplemental log data)?
    2/ LAS: Will it take longer to apply an archived redo log to Logical B than it takes on the Physical B?
    3/ I can't set the hardware on B's host to the same level as it's on A's host.
    A has (6cpu, 20GiB RAM, half for SGA)
    Physical B has (2cp, 9GiB RAM, 5GiB for SGA)
    Logical B will have (3cpu, 12GiB RAM, xxxGiB SGA)
    The load on B will be very very less than it is on A. Knowing A perfs is O.K., will B perf on reporting be O.K.?
    4/ my target for backup is now B. When the "upgrade" will be finished, would you advise to continue the backup on the Logical Standby, or to switch to a backup via (RMAN/HotBackup/...) ?
    5/ Any other advice you could give :-)
    Thanks,
    Yoann.

    Hi Yoann,
    Some time ago I created a logical database for Oracle 9.2.0.4 db on RH Linux then on 9.2.0.6 ver (same OS). It was very tempting to decrease loading on primary database through using logical standby, but It was not moved to production. I stuck with some problems when transactions stopped because of some inconsistency (I used transaction consistency set to NONE because of performance) and there were a couple of them between a hundred of tables. After that I tried to create a database link upon the primary database, but it was not apt to use with the same procedures to execute.
    Regarding questions:
    1. I did not find the big overhead, but a lot of additional actions should be done due to maintenance tables w/o PK on LGSTBY
    2. Difficult to say ...
    3. I had LGSTBY half of power of primary
    4. I will not you advise to backup LGSTBY because of some possible problems with transactions, maintenance etc. better to use RMAN on primary or physical standby
    5. Try to test 10g logical standby (I have read that there is no need to freeze the primary database during logical standby creation)
    Hope this helps,
    Andrey

  • Script or tool to collect/discover/explore informations about a database

    Hi there!
    We have a new customer who already has Oracle databases running. In this project we have to take over the servers and databases. So in future we are responsible for the databases. To operate these foreign databases we have to know and document them an their configuration in a first inventory-step.
    My question now is are there any scripts or tools that do this discovery of fundamental information, for example like tablespaces, users, datafiles, usage statistics, performance parameters.
    I know there's a tool called "remote diagnostic agent" (rda) but I don't know if this fits my needs.
    Thanks for helping,
    Markus

    Hi @all
    Thanks for all the quick responses.
    OK, maybe it's the best to use RDA for that matter. I already thought about it but that solution dosn't have that charme as a nice small script which gives me the information i need to get a quick overview.
    @ ji li
    Well, it's not a problem to write a script which collects all these data by getting them out of the database repository. But I think you would agree with me that it's verry senseless to put some effort in developing something if someone has already done that. And as I'm not shure if I have all information I need it's a good help to orientate at a work of experienced dbas.
    Would it be to cheeky to ask you if you want to share your script solution?

  • A Question about LV Database Connectivi​ty Toolkit

    Hello everyone!
    I have a question about using LabVIEW DataBase Connectivity Toolkit 1.0.2 that eagerly needs your help. I don't know how to programmaticlly create a new Microsoft Access(.mdb)file (Not a new table in a existing Database)using LabVIEW Database Connectivity Toolkit1.0.2. As you know, usually we can set up the connection by creating a Universal Data Link (.udl) file and inputting the path to the DB Tools Open Connec VI in the LabVIEW DataBase Connectivity Toolkit. However, searching a table within an existing database containing a great many tables is a toilfulif job. If I want to use a new DataBase file with the date and time string as its name to log my acquisition data in each measurement process, how to do? I am sure someone of you must can resolve my question, and thanks very much for your help.

    I don't know what your real design considerations are here but, from I understand from your post, this is a really bad way to go about the process of logging data -- IF you want to be able to do significant ad hoc or stored procedures analyses after it has been collected.  Using separate MDB files for data that ONLY differs by one field (namely that date) is not the most efficient way to organize it.  What would be much more efficient would a joined table including the date and a reference ID of some sort for the various measurements that were done.  That way your stored procedures for looking at ALL measurements of type X would be very simple going across ALL dates.  Making such a comparison across multiple MDB files is a much more challenging process AND doing the original data collection in that way doesn't really gain you anything.
    Generally, if something is difficult to do in the DCT (Database Connectivity Toolkit) it's because it's a "not good thing" to do within MDBs.  I know that others probably disagree with that but I've worked with Access since it's initial release and other RDBMs prior to that both through compiled tools, Unix scripts, etc.  You may, of course, still choose to proceed in the way you've described and that may work excellently for you. 

Maybe you are looking for

  • How to change font size and window size for a pop-up Message Window?

    Hello, I am trying to display a very important message to alert our tester or any user when there is an emergency and they have to stop the test they are doing. I really desire to use larger message window/fonts to do this. I have tried Display Messa

  • Request Map not getting value

    Hi, I have a jsp page in which for a button click I am calling javascript function. In this javascript method I am opening a new jsp page as a pop-up using window.open('URL','optional parameters'). I am appending some information in this url as query

  • Getting XML data of SSIS Package (which is located in File System) from a query

    Hi, We have around 200 SSIS packages deployed to File System. These pacakges are being scheduled using SQL Agent job. So, currently I have a list of all the packages and their respective File Path. Note : **They are NOT deployed to Server**. Now, my

  • Video files and multiple monitors.

    Is there a way to choose which monitor my itunes video files play on? At the moment, they play on my MacBook Pro screen, instead of my external monitor which I would prefer.

  • I am being told my safari is out of date can you help

    I keep getting messages that my safari is out of date Tried software update (under file) and it says my software is up to date. If I do update safari from site which one do I want Thanks Spencer