build the new database through scripts must understand Spanish character sets.

Hello gurus,
I need to some simple tips, a good chance for some quick points for you.
I've never built a database to understand any different other than the U.S. English character set. I now have to build a database that will be used for characters Spanish-keyboards, etc. But I will use English to install 11g software. I just want to be able to show the Spanish characters in the data for the names of clients.
I will create the database with scripts that I did to make the standard model for data files, control files, etc..
Then I import in a dump that I did and that was done with American English character sets.
The system is 11g (11.2.0.3.0) on Linux Enterprise Server 5.8.
I thought I'd use the AL32UTF8 character set, but I'm not sure where to use them.
My original test showed no Spanish characters for names of customers as the "tilda" or "sueano" (excuse my spelling). But in this case I did the exceptional for Spanish, I used only the construction of standard American English (no change in the file init.ora or original database create script).

How can I adjust my settings file for the initial creation of the database model to be able to understand the Spanish character set and still be able to import my dump error-free file.

EXAMPLE of a build script:

CREATE DATABASE mynewdb
The USER SYS IDENTIFIED BY sys_password
The USER IDENTIFIED BY system_password SYSTEM
LOGFILE GROUP 1 ('/ u01/app/oracle/oradata/mynewdb/redo01.log') SIZE in the 100M.
GROUP 2 ('/ u01/app/oracle/oradata/mynewdb/redo02.log') SIZE in the 100M.
GROUP 3 ('/ u01/app/oracle/oradata/mynewdb/redo03.log') SIZE 100 M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16

If I replace to AL32UTF8 AL16UTF16 NATIONAL CHARACTER SET, will it work to show the Spanish characters?

Sorry for the long-winded question, any advice will be great.

Fortunately,
Shawn

Hello
the national character sets is for the column as nvarchar types not for normal varchar data types. So if your dump file contains column types, you also need to set. The character set is for normal column as a varchar types. The use of unicode is best practice if you use the multiel language, but keep in mind that multibyte character set can be a problem when importing because varchar2 (10) means byte 10 and not 10 characters, so mistakes as an identifier for a long time may occur when importing.
You can create the database.

See this documentation:
http://docs.Oracle.com/CD/B28359_01/server.111/b28298/ch2charset.htm

You can use a like WE8MSWIN1252 character set which covers the Spanish also (like many, I know) and a superset of us7ascii

concerning
Peter

Tags: Database

Similar Questions

  • How to reconnect the new database with oracle and oracle mid infrastructure

    course oracle environment;
    Database; 10gr 2 (10.2.0.1) old-SID: gtxprod host: 10.30.100.199
    new database; 10gr 2 (10.2.0.1) - SID: gtxprod2 host: 10.40.110.199
    application sever. 10.2.0.1 (oracle mid level.) and oracle infra SSO, forms, reports, portal.

    problem;
    I try to reconnect from the application to the new database server. I do not know how?

    I went to /opt/oracle/10ggtxinf/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/10gasr2inf/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    asdb.gtx.com =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = isdev.gtx.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME =asdb.gtx.com)
        )
      )
    
    
    gtxprod.gtx.com =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = gtxprod.gtx.com)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SID = gtxprod)
        )
      )
    
    gtxprod2.gtx.com =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = gtxprod2.gtx.com)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SID = gtxprod2)
        )
      )
    In application of the oracle infra. How Asian Bank of development of database instance can connected with the new data base gtxprod2?

    In Forms Server, based on a Web site, if go to Forms Server, I can see tns.ora but I can't see anything to update to the new database.

    you could give me information how understand this problem?

    Thank you very much in advance

    Hi Wen,

    As you have created a new database 'gtxprod2' so the Stanley database should be in place
    cmd--> lsnrctl status
    That you have even made changes to 10ggtxinf/network/admin/tnsnames.ora
    do the same entry in the oraclebi/network/admin/tnsname.ora file

    You can check if your new entry is rite of
    tnsping gtxprod2 (>)
    Now you ask how the application will come to know what database to point to
    Go to oracle AS
    As using your forms and reports go to oraclebi/forms/server/formsweb.cfg

    At the end of the file, there might be a few entries
    for example
    [test]
    envFile = test.env
    Form = LOGIN_ENT.fmx
    LookAndFeel = oracle
    separateFrame = true
    UserID=nrs_fd/nrs_fd@fixdep
    SplashScreen = NO
    logo = NO
    Background = No.
    color = auto
    make = yes
    Archive = frmall.jar
    archive_jini = frmall_jinit.jar, frmwebutil.jar, Jacob.jar, icons.jar
    ImageBase codebase =
    term = frmpcweb.res
    baseHTML = webutilbase.htm
    baseHTMLjinitiator = webutiljini.htm
    baseHTMLjpi = webutiljpi.htm
    WebUtilArchive = frmwebutil.jar, jacob.jar

    "userid=nrs_fd/nrs_fd@fixdep" IE (username) / (password) @tnsname
    the following entry specifies what database, the application must point to

    If your using a war file, you must create a data source and as datasource, you must specify the tnsname input

    Concerning
    Fabian

  • E.M.P. 11.1.2.1 repointing to the new database

    Hi all;

    Need of your advice here;

    I had a requirement for re-pointer the EPM environment to the other (new) database. I just want to share my point of view how this can be done please correct me if I'm wrong.

    (1) the relational database of the former backup

    (2) backup the \Oracle\Middleware\ file of all servers in the EMP

    (3) the registry backup

    4) clone or COPY all schemas (HFM, planning, Essbase, FDM.. etc) to the database

    Then

    (4) remove the respective environmental USER_PROJECTS folders

    5) RUN the CONFIGURATION TOOL and then provide the NEW database server and port details. Update the TNSNAMES.ora file with the new database.

    (6) repeat step 5 for all other components

    OR

    Is there a way we can change the PROPERTIES file with the Reconfiguration pointing to the new database of execution? Please notify.

    Thank you

    UB.

    Yes you must reconfigure on these servers, but it is only shared services registry which needs configuration to point to the new database, Essbase uses the information updated in reg.properties.

    Try it and see.

    See you soon

    John

  • Create the new database of complete hot RMAN, atrchivelog and backup control files

    Hi all

    I'm trying to create the new database U1234 of P1234 of full hot RMAN, atrchivelog and control P1234 file backup.

    Here are my steps

    (1) to restore the control file

    #! / bin/sh
    ORACLE_SID = P1234
    export ORACLE_SID
    RMAN nocatalog target / < < EOF | Tee restorecontrol.out
    startup nomount pfile=/u01/oradba/admin/U1234/scripts/restore/restore071009U1234/initP1234.ora;
    the value of DBID 6767676;
    run
    {
    allocate channel d1 type disk;
    controfile catering to ' / u02/oradba/U1234/control/P1234_control01.ctl';
    Restore controlfile to ' / orarman/restore/P1234/cf_P1234_c-00';
    change the editing of the database;
    }
    EXPRESSIONS OF FOLKLORE

    (2) database stop then restart the database with the new contraol file using pfile.

    (3) restore data files

    #! / bin/sh
    ORACLE_SID = P1234
    export ORACLE_SID
    RMAN nocatalog target / < < EOF | Tee restore_dbfiles.out
    Run {}
    the value of newname for datafile 1 to ' / u05/oradba/U1234/dbfile/U1234_system01.dbf';
    the value of newname for datafile 2 to ' / u05/oradba/U1234/dbfile/U1234_undotbs01.dbf';
    the value of newname for datafile 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
    the value of newname for datafile 4 to ' / u06/oradba/U1234/dbfile/U1234_users_d01.dbf';
    the value of newname for datafile 5 to ' / u06/oradba/U1234/dbfile/U1234_tools_d01.dbf';
    the value of newname for datafile 6 to ' / u08/oradba/U1234/dbfile/U1234_audt_x01.dbf';
    the value of newname for datafile 7 to ' / u07/oradba/U1234/dbfile/U1234_audt_d01.dbf';
    the value of newname for datafile 8 to ' / u07/oradba/U1234/dbfile/U1234_audt_d02.dbf';
    the value of newname for datafile 9 to ' / u08/oradba/U1234/dbfile/U1234_lh_x01.dbf';
    restore the database;
    switch datafile;
    }
    EXPRESSIONS OF FOLKLORE


    ORA-27063: number of bytes read or written is incorrect
    SVR4 error: 28: no space is available on the device

    Now, I missed the space during the restoration of data files and want to restore remaining who is 3 and 4 of datafile datafile.

    Can you please let me know how I can restore it.

    I need to change the names of database after the successful restoration.

    DBVERSION 10.2.0.1
    operating system: solaris 10

    Thanks in advance.

    Hello..

    Do you have free space? If Yes, then you can try: -.

    RUN {}
    SET NEWNAME for DATAFILE 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
    RESTORE THE 3 DATA FILE;
    DATAFILE 3 SWITCH;
    }

    [http://www.oracle-base.com/articles/9i/DBNEWID.php]

    Anand

  • I recently downloaded the Lightroom upgrade but the old version remains the default Lightroom Application on my laptop and I can only access the new version through the Adobe icon at the top of ch. How can I get the new version of "AMPERAGE".

    I recently downloaded the Lightroom upgrade but the old version remains the default Lightroom Application on my laptop and I can only access the new version through the Adobe icon at the top of the screen. How can I get the new version of 'replace' the old?

    Try to uninstall the old version - it is not necessary.  An upgrade is a product independent and fully functional.

  • Complete Impdp for the new database

    Hello
    I'm trying to move my database to a different server. What I need to ask about is: can I use impdp to move the database to the new environment, new server or the new database with the new paths? and what is the steps to do this? is is the fully automatic process?

    If you ask about the settings file, it's just a text file where you put your orders of datapump. Here is an example:

    my_imp.par
    --------------------
    Full = y
    job_name = my_full_import
    remap_datafiles = "C:\Documents and Settings\All Users\Favorites\file1.dbf":"/oracle_home/dbs/file1.dbf",
    "C:\Documents and Settings\All Users\Favorites\file2.dbf":"/oracle_home/dbs/file2.dbf"

    Then, you perform your impdp as command:

    Username/password Impdp parfile = my_imp.par

    Dean

  • copy the entire schema to the new database

    Hi... What is the best way to copy the entire schema (25 GB) to the new database ther.

    Thank you

    What is best way to copy the entire schema (25 GB) to the new database ther.

    Import/export
    Import export/Datapump DataPump (if the database is in 10g)
    DEC using the database link

  • Create the new database without PDB or without using C#.

    Dear all

    I am able to create the database table in oracle 12 c with prefix c#, while I want to create without prefix. I read all the documents, but still, I don't understand. can anyone explain that

    I use the following command to create the database

    create the c ##test user identified by test;

    Grant connect, resources to c ##test;

    grant imp_full_database c ##test;

    grant permission to c ##test;

    Sandy

    Oracle-DBA-Sundar says:

    Hello

    Alter system set COMMON_USER_PREFIX==''

    create user test123 identified by test123;

    Above may work

    Thank you

    Sundar

    Sometimes I wish we could downvote or dislike some of the answers.

    Even when it works, it is not correct to do so. The problem was how to distinguish between normal users in a PDB file and common users. I guess that the original poster must simply learn to switch / connect on a preliminary draft budget, where it can create users just like it was before. And the cause, it must first of all a PDB file.

    Instead he will now create common users and use these users just as local, thus throwing the whole concept shared in the drain.

    The user command to create now has an additional parameter 'container '. I use in scripts to prevent the execution of a script in the bad environment (CBD/PDB).

    In a CBD, this will create a common user. The default container clause is ALL here.

    create user mycomm identified by mycomm container=all;
    

    This creates a local user in a PDB file. The default container clause CURRENT here.

    SELECT NAME, OPEN_MODE, RESTRICTED, OPEN_TIME FROM V$PDBS;
    
    alter session set container = PDB1
    create user mylocal identified by mylocal container=current;
    

    BTW. I don't see a major issue to create ordinary users without the c# # prefix, as long as you know exactly what you are doing. I see the prefix C# as a safety mechanism, preventing you from accidentally creating common users with identical names as local users.

    Pete Finnigan did some research on how to create different types of users in an environment of 12 c: http://www.petefinnigan.com/weblog/archives/00001370.htm

  • How do I add the new database to RAC 10 g 1

    Hello, guys!

    I'll migrage RAC 2 - nodes to a new hardware (virtual machine is), but I don't know how to do this.

    Guys, please, can you me the migration steps?

    I was thinking about this:

    (1) I install clusterware on 2 new nodes.

    (2) restore database backup rman (production system)

    (3) is not sure how to register restored the database on the new cluster

    Thanks in advance.

    You must first reconfigure init.ora (for all instances) with the new configuration, as remote_listener local_listener, instance_number cluster_database...

    After that, you must save the database and everything what you bodies

    srvctl add database d o Pei

    srvctl add instance d -i - n

    srvctl add instance d -i - n

    HTH - Antonio NAVARRO

  • Load the old version on the new machine through CC... possible?

    So if someone does not know why I need to do is read my older post (Re: work yesterday.) Crawling today.) or just look at the forum posts current 100 top of page about the updates at any time.

    In a Word, I am building a new machine super (so that Adobe can always copy paste their answer "it's your system" canned all my messages of future problem) and I have a big project (short film, hundreds of videos, tons of audio, many masks and CC) currently on an old machine using 2014.0 of the organism to unique Canon. I would like to know if it is possible for me to transfer the set of project/media files to the new machine and load it directly in 2014.0 single cannon on the new machine, so I can get this project completed and delivered without nary a hiccup before daring to smoke test the... > GULP! <... latest Organization on a much less involved/lucrative project.


    I feel like when the new machine is ready and I'm going to download body his will force the latest version on me... y at - it a way to select a legacy version? The latest version of loading and rolling back (as I did in my current situation) would work if the new machine never had the old version?

    Full disclosure I have ever transferred projects of new versions of the software, not to mention new machines in my life... so any idea that spell things out as if I'm in 8th grade would be greatly appreciated.

    Excelsior!

    Previous through Cloud http://helpx.adobe.com/creative-cloud/help/install-apps.html#previous

  • create the new database programmatically

    I am creating a new MS Access database you want to connect a few results for in a labview program using the toolkit of connectivity datab ase.  The examples show how link and create a new table in an existing database file, but I want to create a new database and then insert a new table inside for my results.  Any ideas?

    You have installed Access where you can create a blank MDB file?  If so, you can create an and store it as a template in your program folder.  Copy and paste when you run your routine and use table VI to create in the Toolbox to create tables to write.  It is possible to create tables in an INSERT, but you can't control the properties of the fields.  The OP in this thread is doing this thing. (http://forums.ni.com/t5/LabVIEW/Database-connectivity-toolkit/m-p/3046359#M868188)

  • Add the new database

    I have a 2 rac cluster

    rac1 server with 2 network cards

    eth0, eth1

    rac2 server with 2 network cards

    eth0, eth1

    We have completed the installation of rac cluster

    the database is rac

    Now the manager who comes to me and says

    I want you use the environment above and create another database QA

    of course I can easily create a single instance of QA Manager

    said... I want allows you to create a car QA database

    How do I do this with the same material?

    Imagine the size of the data set is 20 GB and data used are 10 GB

    the sys admin says if you want it can create discs more than necessary.

    How to use two servers to create another data base rac called QA

    I can't go to the Manager and say... BUY a material more

    What are the minimum requirements and that is the necessary steps.

    Of course I don't want detailed step by step guide

    just a preview...

    You can use dbca (Database Configuration Wizard) to create multiple databases in the same installation of RAC cluster.

    But first think how big disks (data, Redo, Arch) (grid Infra (clusterware) disc can be same for all databases) you need this new database and add these new drives for servers and ASM if you use.

    And then create a new database with dbca.

  • How to export the Apex asks the new database

    Hello

    Pls help me with the steps on how to pass my Apex 4.2.3 a database to a different database in the new pc

    Thanks and greetings

    Idris

    Hi Idris,.

    Initially, there are two aspects to move an Apex Application to a completely different environment.

    1. Components of the apex.
    2. Database components.

    both are well documented in this forum and elsewhere.

    Components of the apex can be moved to the Apex export and import tools. Components of database can be moved using more general DB tools such as datapump.

    Hope this gets you started.

    Concerning

    André

  • Restore virtual machines after building the new RAID array

    Hi all

    I am new to the virtual machines, so I'm sorry for the newbie question. Currently, I have a HP ML350 G6 ESXi 5.0.0 running on 4 GB Flash hosting SD cards two virtual machines and licenses for 5 Essentials vSphere and vCenter Server 5 Essentials. I also have a RAID5 configuration with drives SAS 146 GB (6). I intend to remove all six readers and their replacement by 300 GB disks and build a RAID6 array. My question is, what would be the best practice to move the two VMS in the current RAID array to the new RAID array? Wouldn't be also simple to make backups of virtual machines or clones, exchanging the readers, the new array of construction and restoring virtual machines? If someone could point me in the right direction would be great!

    Thank you all!

    Personally, I would go with backup & restore. In addition, use the downtime to upgrade the firmware of the host (HP published recently a few critical fixes on the RAID controller and some models of HARD drive).

    What I would do - to avoid any problem - is to remove the host ESXi, vCenter, replace disks, update the firmware, re - install ESXi and as final step add the host to vCenter again.

    André

  • Installation of VirtualCenter migration with the new database

    I have an existing installation of Virtual Center and sql server that was installed by an employee of the past. The installation needs cleaning and migration.

    So I decided to prepare a new physical server to host a new installation of VirtualCenter and another SQL Server. I installed VirtualCenter, and the database was created. But now I'm starting to think that she can't be as easy as adding ESX hosts to the installartion of Vcenter new/database and update the IP of the server for the hearbeat.

    So I have a few questions:

    (1) if I disconnect the old installation of VirtualCenter and ESX hosts, add them to the new facility, my storage adapters will remain intact?

    (2) I'll currupt one of my virtual machines on ESX host?

    If I can lose data, I'll obviously have to migrate the existing database, rather than nine.

    You can unplug and remove the hosts of their current instance of vCenter and then add the host in the new.  Don't hurt your VM.  You do not also lose connection also well to the storage fabric.

    Just keep in mind that moving to a new instance of vCenter will lose you all the performance and historical data as well as any rules DRS/HA, pools of resources, permissions, roles, etc.

Maybe you are looking for