How to Import Database user in oracle which have character set AL32UTF8?

Hello All,
I want export one database user which have character set in WE8MSWIN1252 and I want to Import that Database user in oracle which have character set AL32UTF8 without changing character set.
is there any argument in import command??
thanks

There's no problem, export and import will take care of character set conversions, the only problem is AL32UTF8 is a variable size character set, if 'ñ' uses 1 byte in WE8MSWIN1252, in AL32UTF8 it will use 2 bytes, so it's recommended to pre-create the tables with "char" instead of "byte": create table xxx ( col1 varchar2(100 char), ... )
Enrique

Similar Messages

  • How to create Database Users in Oracle enterprise?

    Help, I am new in using oracle database. All I need to do is to connect PHP to Oracle. But it keeps saying this Error
    *Warning: oci_connect() [function.oci-connect]: ORA-28000: the account is locked in*
    Really need some help.

    Welcome to the forum. Please next time remember that your friends are "search option", google, thaiti... and of course oracle documentation. All ORA-XXXX are documented so please next time, search for them.
    run:
    select account_status, username from dba_users;
    If the status is locked:
    alter user XXXXXX account unlock;
    If also is expired:
    ALTER USER xxxxx IDENTIFIED BY password;
    HTH
    Edited by: Fran on 30-may-2012 2:16

  • How to import csv data into Oracle using c#

    Hello,
    How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import csv data into oracle. Thank you.
    This is my code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    using System.Threading;
    using System.Text.RegularExpressions;
    using System.IO;
    using FileHelpers;
    using System.Data.OracleClient;
    namespace sqlloader
    class Program
    static void Main(string[] args)
    int jum;
    int i;
    bool isFirstLine = false;
    FileHelperEngine engine = new FileHelperEngine(typeof(XL_XDR));
    //Connect To Database
    string constr = "Data Source=(DESCRIPTION=(ADDRESS_LIST="
    + "(ADDRESS=(PROTOCOL=TCP)(HOST= pt-9a84825594af )(PORT=1521 )))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=o11g)));"
    + "User Id=xl;Password=rahasia;";
    OracleConnection con = new OracleConnection(constr);
    con.Open();
    // To Read Use:
    XL_XDR[] res = engine.ReadFile("DataOut.csv") as XL_XDR[];
    jum = CountLinesInFile("DataOut.csv");
    FileInfo f2 = new FileInfo("DataOut.csv");
    long s2 = f2.Length;
    int jmlRecord = jum - 1;
    for (i = 0; i < jum; i++)
    ShowPercentProgress("Processing...", i, jum);
    Thread.Sleep(100);
    if (isFirstLine == false)
    isFirstLine = true;
    else
    string sql = "INSERT INTO XL_XDR (XDR_ID, XDR_TYPE, SESSION_START_TIME, SESSION_END_TIME, SESSION_LAST_UPDATE_TIME, " +
    "SESSION_FLAG, VERSION, CONNECTION_ROW_COUNT, ERROR_CODE, METHOD, HOST_LEN, HOST, URL_LEN, URL, CONNECTION_START_TIME, " +
    "CONNECTION_LAST_UPDATE_TIME, CONNECTION_FLAG, CONNECTION_ID, TOTAL_EVENT_COUNT, TUNNEL_PAIR_ID, RESPONSIVENESS_TYPE, " +
    "CLIENT_PORT, PAYLOAD_TYPE, VIRTUAL_TYPE, VID_CLIENT, VID_SERVER, CLIENT_ADDR, SERVER_ADDR, CLIENT_TUNNEL_ADDR, " +
    "SERVER_TUNNEL_ADDR, ERROR_CODE_2, IPID, C2S_PKTS, C2S_OCTETS, S2C_PKTS, S2C_OCTETS, NUM_SUCC_TRANS, CONNECT_TIME, " +
    "TOTAL_RESP, TIMEOUTS, RETRIES, RAI, TCP_SYNS, TCP_SYN_ACKS, TCP_SYN_RESETS, TCP_SYN_FINS, EVENT_TYPE, FLAGS, TIME_STAMP, " +
    "EVENT_ID, EVENT_CODE) VALUES (" +
    "'" + res.XDR_ID + "', '" + res[i].XDR_TYPE + "', '" + res[i].SESSION_START_TIME + "', '" + res[i].SESSION_END_TIME + "', " +
    "'" + res[i].SESSION_LAST_UPDATE_TIME + "', '" + res[i].SESSION_FLAG + "', '" + res[i].VERSION + "', '" + res[i].CONNECTION_ROW_COUNT + "', " +
    "'" + res[i].ERROR_CODE + "', '" + res[i].METHOD + "', '" + res[i].HOST_LEN + "', '" + res[i].HOST + "', " +
    "'" + res[i].URL_LEN + "', '" + res[i].URL + "', '" + res[i].CONNECTION_START_TIME + "', '" + res[i].CONNECTION_LAST_UPDATE_TIME + "', " +
    "'" + res[i].CONNECTION_FLAG + "', '" + res[i].CONNECTION_ID + "', '" + res[i].TOTAL_EVENT_COUNT + "', '" + res[i].TUNNEL_PAIR_ID + "', " +
    "'" + res[i].RESPONSIVENESS_TYPE + "', '" + res[i].CLIENT_PORT + "', '" + res[i].PAYLOAD_TYPE + "', '" + res[i].VIRTUAL_TYPE + "', " +
    "'" + res[i].VID_CLIENT + "', '" + res[i].VID_SERVER + "', '" + res[i].CLIENT_ADDR + "', '" + res[i].SERVER_ADDR + "', " +
    "'" + res[i].CLIENT_TUNNEL_ADDR + "', '" + res[i].SERVER_TUNNEL_ADDR + "', '" + res[i].ERROR_CODE_2 + "', '" + res[i].IPID + "', " +
    "'" + res[i].C2S_PKTS + "', '" + res[i].C2S_OCTETS + "', '" + res[i].S2C_PKTS + "', '" + res[i].S2C_OCTETS + "', " +
    "'" + res[i].NUM_SUCC_TRANS + "', '" + res[i].CONNECT_TIME + "', '" + res[i].TOTAL_RESP + "', '" + res[i].TIMEOUTS + "', " +
    "'" + res[i].RETRIES + "', '" + res[i].RAI + "', '" + res[i].TCP_SYNS + "', '" + res[i].TCP_SYN_ACKS + "', " +
    "'" + res[i].TCP_SYN_RESETS + "', '" + res[i].TCP_SYN_FINS + "', '" + res[i].EVENT_TYPE + "', '" + res[i].FLAGS + "', " +
    "'" + res[i].TIME_STAMP + "', '" + res[i].EVENT_ID + "', '" + res[i].EVENT_CODE + "')";
    OracleCommand command = new OracleCommand(sql, con);
    command.ExecuteNonQuery();
    Console.WriteLine("Successfully Inserted");
    Console.WriteLine();
    Console.WriteLine("Number of Row Data: " + jmlRecord.ToString());
    Console.WriteLine();
    Console.WriteLine("The size of {0} is {1} bytes.", f2.Name, f2.Length);
    con.Close();
    static void ShowPercentProgress(string message, int currElementIndex, int totalElementCount)
    if (currElementIndex < 0 || currElementIndex >= totalElementCount)
    throw new InvalidOperationException("currElement out of range");
    int percent = (100 * (currElementIndex + 1)) / totalElementCount;
    Console.Write("\r{0}{1}% complete", message, percent);
    if (currElementIndex == totalElementCount - 1)
    Console.WriteLine(Environment.NewLine);
    static int CountLinesInFile(string f)
    int count = 0;
    using (StreamReader r = new StreamReader(f))
    string line;
    while ((line = r.ReadLine()) != null)
    count++;
    return count;
    [DelimitedRecord(",")]
    public class XL_XDR
    public string XDR_ID;
    public string XDR_TYPE;
    public string SESSION_START_TIME;
    public string SESSION_END_TIME;
    public string SESSION_LAST_UPDATE_TIME;
    public string SESSION_FLAG;
    public string VERSION;
    public string CONNECTION_ROW_COUNT;
    public string ERROR_CODE;
    public string METHOD;
    public string HOST_LEN;
    public string HOST;
    public string URL_LEN;
    public string URL;
    public string CONNECTION_START_TIME;
    public string CONNECTION_LAST_UPDATE_TIME;
    public string CONNECTION_FLAG;
    public string CONNECTION_ID;
    public string TOTAL_EVENT_COUNT;
    public string TUNNEL_PAIR_ID;
    public string RESPONSIVENESS_TYPE;
    public string CLIENT_PORT;
    public string PAYLOAD_TYPE;
    public string VIRTUAL_TYPE;
    public string VID_CLIENT;
    public string VID_SERVER;
    public string CLIENT_ADDR;
    public string SERVER_ADDR;
    public string CLIENT_TUNNEL_ADDR;
    public string SERVER_TUNNEL_ADDR;
    public string ERROR_CODE_2;
    public string IPID;
    public string C2S_PKTS;
    public string C2S_OCTETS;
    public string S2C_PKTS;
    public string S2C_OCTETS;
    public string NUM_SUCC_TRANS;
    public string CONNECT_TIME;
    public string TOTAL_RESP;
    public string TIMEOUTS;
    public string RETRIES;
    public string RAI;
    public string TCP_SYNS;
    public string TCP_SYN_ACKS;
    public string TCP_SYN_RESETS;
    public string TCP_SYN_FINS;
    public string EVENT_TYPE;
    public string FLAGS;
    public string TIME_STAMP;
    public string EVENT_ID;
    public string EVENT_CODE;
    I hope someone can give me a solution. Thanks

    The fastest way is to use external tables or sql loader (sqlldr). (If you use external tables or sql loader, you don't use C# at all).

  • How to import *.dmp file Through Oracle SQL Developer (3.2.20.09)

    hi
    how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
    how to do it ?
    thanks

    You do not.
    .dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data.

  • How to preserve database user details before cloning

    Hi Experts,
    How to preserve database user details before cloning,
    I am cloning the test database with the prod database, so my concern is how to preserve the users details which they have in TEST database( like roles, privilges, profiles , passwords, etc.....). Because that all gone after cloning from PROD.
    Thanks
    Sam

    use the following script to take the backup of roles,pwd & other  details of DEV . after cloning  execute the scripts back in DEV to restore the old values....
    set head off
    set lines 200
    set pages 9999
    col owner for a20
    col db_link for a30
    col username for a15
    col host for a40
    col created for a12
    spool db_details.lst
    select * from global_name;
    select * from dba_db_links;
    select name from v$controlfile;
    select member from v$logfile;
    select file_name from dba_data_files;
    select file_name from dba_temp_files;
    spool off
    spool create_db_links.lst
    select 'create DATABASE LINK '||owner#||'.'||NAME|| ' connect to '|| userid || ' identified by '|| password || ' using '||''''|| host ||''''||'; ' FROM sys.link$ order by owner#;
    select username,user_id from dba_users where user_id in (select distinct owner# from link$);
    spool off
    spool alter_user.lst
    select ' alter user '||username||' identified by values ' || chr(39)||password||chr(39) || ';' from dba_users;
    spool off
    Set verify off
    Set space 0
    set feedback off;
    set echo off;
    set pages 1000;
    set lines 150;
    spool create_synonym.sql
    Select 'CREATE SYNONYM '||owner||'.'||synonym_name||' FOR '||table_owner||'.'||table_name||'@'||db_link||';' from dba_synonyms where db_link is not null and table_owner is not null;
    Select 'CREATE SYNONYM '||owner||'.'||synonym_name||' FOR '||table_name||'@'||db_link||';' from dba_synonyms where db_link is not null and table_owner is null;
    spool off;
    Spool profile.sql
    select ' alter user '||username||' profile '||PROFILE||';' from dba_users;
    spool off

  • How to import LDAP users into OSM users?

    Can you please guide how to import LDAP users into OSM users?
    Regards,
    Menaka

    Hi Menaka,
    Refer http://docs.oracle.com/cd/E35413_01/doc.722/e35414/adm_security.htm u would find the necessary soultion.
    Thanks..

  • How to create a user in oracle.

    how to create a user in oracle level.i know how to create from front end.can any body suggest.how to create oracle user from backend.
    Thanks,
    Dave

    Hi,
    We can use the 'hr_user_acct_internal.create_fnd_user' API to create the users. The sample code is as follows:
    BEGIN
    apps.hr_user_acct_internal.create_fnd_user
    (p_user_name => 'XXX',
    p_password => 'XXX',
    p_employee_id => 1234(This is the person id from per_all_people_f),
    p_user_id => x_user_id,
    p_user_start_date => SYSDATE,
    p_email_address => 'XXX',
    p_description => 'XXX',
    p_password_date => NULL
    COMMIT;
    END;
    and to add the responsibility to the user, we can use the following code.
    BEGIN
    fnd_user_pkg.addresp
    (username => 'XXX',
    resp_app => user_res_rec.application_short_name,
    resp_key => user_res_rec.responsibility_key,
    security_group => 'STANDARD',
    description => 'DESCRIPTION',
    start_date => SYSDATE,
    end_date => NULL
    END
    Best Regards
    Arun Kumar S.R
    Apps Associates

  • How to create database link from oracle to sql server

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal
    Hi Vishal,
    I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
    https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
    We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
    Regards,
    Elvis Long
    TechNet Community Support

  • How to Import .txt files in ORACLE having 300 thousand records

    How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context

    You can make use of Sql*Loader utility and You can also use External table technique for this puspose.
    For external table go through this link.
    http://www.oracle-base.com/articles/9i/ExternalTables9i.php
    Regards

  • How you import essbase users list into Hyperion reports?

    How you import essbase users list into Hyperion reports?

    I don't think this is a standard feature of Hyperion Reports.
    Why do you need to see all the users in a report. Administrators can always query EAS, Shared Services or MaxL.
    Brian Chow

  • How to get value of a textfield which has been set as Renderd false.

    Hi all
    how to get value of a TEXTFIELD which has been set as Renderd false.
    i am getting the value of this textfield from an lov but dont want to show it to the user.
    getting error as:
    attribute xxxx required for view object yyyyy.
    pls help
    naveen

    You can create item inside your LOV region, set the item style to formValue. You can associate this to a View Object field. It can also act as mirror of any other text input field.
    FormValue can hold the value and will not be diaplyed to user. You can read value from it controller
    example
    OAFormValueBean orgValue = (OAFormValueBean)webBean.findChildRecursive("OrgIdFormVal");
    Or you can read it fro the VO associated with this form value.

  • How to find out my 5 computers which have been authorized for Itunes.

    How to find out my 5 computers which have been authorized for Itunes.

    Sorry, but you can't. You can, however,  log into your iTunes Store and use the "deauthorize all" command and then reauthorize the computers you're using now.
    Regards.

  • How will Aperture treat Nikon raw images which have been enhanced using Capture NX2 software?  Some are cropped and "developed" and some have been enhanced using the control point technology.  I have NIK sw as a plug-in in aperture.

    How will Aperture treat Nikon raw images which have been enhanced using Capture NX2 software?  Some are cropped and "developed" and some have been enhanced using the control point technology.  I have NIK sw as a plug-in in aperture.

    Actually, there is a Nik/Nikon connection — but I am pretty sure it is irrelevant to the OP's question. The connection is that Capture NX2 was written as a joint venture between Nikon and Nik. (The name similarity is a coincidence.)
    Capture NX2 is a cool program that incorporates the features of Nik's Viveza and Nikon's Raw processing engine, along with some other powerful image adjustment features. It provides, like Aperture, a losses workflow. Unlike Aperture, the adjustments (Edit Steps in C-NX terminology) are saved in the original NEF file along with the un-altered raw data. Multiple versions can be saved in a single NEF.

  • Oracle XE and character set

    Hello all,
    I installed Oracle XE on RHEL 4 Linux and I found out that database character set is AL32UTF8. Does anyone know why oracle choose this character set? Maybe because of NLS_LANG env variable? Is it possible to change it to EE8ISO8859P2? Since database is still empty I can drop it and crate new database.
    Do you think it is possible to set some env variables and do new oracle xe instalation including database with iso charset?
    I want to have EE8ISO8859P2 charset because of doing exp/imp from another oracle iso db to oracle xe and it is much easier to do this without charset conversion.
    Any help will be appreciated.
    regards,
    Miha

    When you download XE, you have a choice - take the 'western european' character set download, or the 'unicode' download.
    No other choices.
    Join us over in the XE forum where people have discussed this and found workarounds. Info about finding that forum at Re: Oracle XE Installation failed

  • Oracle to Mysql character set conversion problem!!! PLZ IGNORE

    Hi Experts,
    I have created a database link from Oracle 10g to Mysql 5.
    I have installed Oracle Gateway 11g for this purpose.
    When i retreive the data from sql plus the text is displayed as question marks.
    Oracle 10g Database character set is WE8MSWIN1252
    Mysql character set --->latin1
    Character set of ODBC connector for mysql is  latin7
    Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
    when i login from sqlplus i get question marks!
    I have another post in Heterogeneous Connectivity forum
    Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
    Kindly update your comments there,
    @@@@@@@@@@@@@@2
    Appreciate your help,
    regards
    Edited by: user10243788 on Apr 21, 2010 3:25 AM

    It is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
    Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
    C:\> set NLS_LANG=.WE8PC850
    C:\> sqlplus ...On Unix:
    $ setenv NLS_LANG .WE8ISO8859P1   (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
    $ sqlplus ...-- Sergiusz

Maybe you are looking for

  • HT4759 Can I place documents created with Microsoft Office for Mac, eg. WORD, or .pdf files be stored in iCloud?  If so, how can I put them there?

    Hi, I am trying to learn how to use iCloud, would like to hsve it my documents on it, which are mostly created in WORD (part of Microsoft Office Suite for Mac) or .pdf files.  I don'r see how to get them into iCloud.  Actually I don't see how to plac

  • How to sort and filter all images when using stacks?

    I have a project where all images are arranged in stacks. I have also gone through and given each image a rating or rejected it. Now I want to sort out and display only a certain selection of images, i.e. rejected images for deletion or four star ima

  • Can't install Suffit(s)

    I have A Cube & a G4 Tower. I can bring up either one in OS 9.1, OS 10.2.8, or OS 10.3.9. Stuffit 7.0.3 is available for OS 9.1, but I've had trouble unstuffing with the OS X systems. I've downloaded Stuffit 8.0.2 (For OS 10.2.8) and Stuffit 10.0.2 (

  • Signature upload in sap script thru se78

    hi i am tyring to upload a signature thru se78,but is not displaying the sign,only white backgrond only. i had scan sign saved in paint format,compressed it,but after uploading its not displying. plz tell how to solve this?how shd i compress,in which

  • LDAP BC QUESTION ABOUT OBJECT CLASSES

    Hi i am working with a bpel and its ldap-bc, when i create an entry in my ldap through the bpel it has all the object classes from the attributes i set. for example if i set cn and sn attributes then my entry has the object class person; i want to kn