10.2.0.4: Japanese insertion is ok but can't read the value

Dear Experts,
=> Server 10.2.0.4 (machine 1)
NLS_CHARACTERSET=WE8MSWIN1252
NLS_NCHAR_CHARACTERSET=AL16UTF16
Table is: t_Japanese (ID integer, VALUE NVARCHAR2(50));
=> Client 10.2.0.1 (machine 2)
In the registry: NLS_LANG=JAPANESE_JAPAN.JA16SJIS
=> What I do:
1. Server: I perform the insertion of っ character (taken from an Unicode table for Hiragana) : insert into t_Japanese (ID, VALUE) Values (1, UNISTR('\3063'));
2. Client:
Sqlplus.exe:
select dump(value,1016), value from t_Japanese;
Typ=1 Len=2 CharacterSet=AL16UTF16: 30,63
é-
Sqlplus*W*.exe
Typ=1 Len=2 CharacterSet=AL16UTF16: 30,63
<black_square>Á
In both cases I'm not able to display the original っ character.
Is it possible to get this character displayed using these tools?
Thanks for any help.
Regards,
Guillaume
Edited by: jboz on Apr 21, 2010 8:10 AM

I do not remember if SQL*Plus can recognize NVARCHAR2 columns correctly and fetch them without converting first to the DB character set. Anyway, you can try to get the data out in SQL*Plus only if you change the default locale (for non-Unicode programs) of your Windows operating system to Japanese (in Control Panel, Regional Settings). Then, you need to set NLS_LANG=.JA16SJIS
I would recommend the use of SQL Developer. It can display this data without touching the O/S.
-- Sergiusz

Similar Messages

  • When inserting a checkbox, how can I prevent the note box from appearing?

    To all,
    After -reluctantly- "upgrading" from Acrobat Pro 7 to Pro X I find this new version absolutely maddening.
    Pro 7's features were easy to find in the tool bar. Now in Pro X everything is "dumbed down" with everything "nested" into each other...
    But I whine and digress from my problem:
    QUESTION:
    When inserting a checkbox, how can I prevent the note box from appearing?
    With every insertion of a checkbox onto a form, a "notebox" appears.
    Thank you,
    Matt

    As you can see, when I add a checkmark to a page/form, a "note" is automatically added also. In my old Acrobat v. 7, this did not happen.
    Any ideas on how I can set Acrobat Pro X to NOT include this note?
    Thank you,
    Matt

  • I accidently personalized the banner (tool bar) and wish to remove it , the image of a Japanese style wave makes it hard to read the bookmarked sites.

    I accidentally personalized the banner (tool bar) and wish to remove it , the image of a Japanese style wave makes it hard to read the bookmarked sites.

    Sounds that you installed a Persona.
    You can uninstall your current Persona and revert to the Default theme (Tools > Add-ons > Appearance/Themes).
    See:
    * https://support.mozilla.com/kb/Using+themes+with+Firefox
    * http://kb.mozillazine.org/Themes (Lightweight theme)

  • My help documentation changed to japanese (sometimes german), and I can't read my help documentation to know how to set it back!

    Just downloaded Logic Pro X, and at some point while using it, my documentation changed language.  It was both around the time that my additional content finished downloading, and also around the time I first switched into advanced view.  (No further switching has effected any change.)
    When I search help, in english, the results turn up in german (presumably the latin character search has few results in the japanese character set).  Nothing in english, making me think somehow the english language help doc got corrupted, or some such thing?  Anyhow, would be nice to know how to change the language preference, in case it's just a setting.  (Or where to download new help documentation)
    My interface is still all in english, so it's just the much-needed help documentation that's inaccessible!
    Ty for any help.

    Bizarre, but good to know it's not just me.  Ty very much.
    For the record, I went back through logs and was able to see when it first appeared as the wrong language (when "logic pro x help" became "logic pro x hilfe" in the helpviewer log)
    The only other logic related messages around that time (about 30 sec before) that I see are a string of about 10 messages in a row saying essentially (specific file mentioned different in each message)
    "3/5/2014 9:17:33.804 AM mdworker[30170]: (Normal) Import: Using too many resources after 1984 files (wired: 0 resident: 33785 swapped: 0 regions: 2071), hit usage threshold importing /Library/Application Support/Logic/EXS Factory Samples/Glass Marimba, exiting to clean up now."
    No idea if or how this could be relevant, but I thought I'd share it, in case it gave anyone an idea of what the problem is.
    Regardless, ty very much for the help!  That will work just fine for me.

  • I am trying to print a jewel case insert but can't open the theme app

    I have located the "show package contents" and "resources" folders by control clicking where I find the theme icons and (0001_Mobile.theme) etc but when attempting to open my iMac can't find an application.
    So...........?
    Thanks,
    Dave
    iMac G5   Mac OS X (10.4.3)  

    can't find an application
    Application for making jewel case inserts?
    There is no application in mac for that. But you can use a program like Photoshop to make a good one or you can get a printer that prints directly to the CD or DVD (like Epson R300)
    Sue

  • I did disk utility, and verify disk and it asks to repair the disk using dvd installer...but when i insert the dvd- restart- hold c, it keep ejecting and can't read the dvd....i tried with my friends dvd too, but still fail...mac osx v10.6.7

    someone pls help me

    Well there is Resolve startup issues and perform disk maintenance with Disk Utility and fsck witch includes step by step instructions to run disk repair without the install disk.
    But before doing that, it's a good idea to backup. You may want to troubleshooting your superdrive / disk before hand. if I disk repair fails you may need the disk working to re-install the OS.
    Dose the computer read any DVDs? if no, you may want to use Troubleshooting the slot load optical disc drive.

  • Inserted the code but can't see the site in design view

    Hello, I just downloaded the trial version of DW ver.8 and
    opened an existing site I have and can't see anything in the design
    view, but everything is there in the code view... and the site
    shows just fine in the browser preview! This problem happens with
    all the html pages I open up. Someone please tell me what I am
    doing wrong. I am using mac osx ver.10.4.5.

    I copied and pasted the code into DW and I didn't have a
    problem viewing it,
    A couple of things:
    You need to close a a tag here: the > was missing at the
    end:
    <img src="./icon/sample04a.jpg" border="0"
    onmouseover="this.src='./icon/sample04b.jpg'"
    onmouseout="this.src='./icon/sample04c.jpg'" style="cursor:
    pointer;">
    You also need to change:
    <script language="javascript">
    to this:
    <script language="JavaScript" type="text/javascript">
    You may want to put the page through the validator and fix
    the problems
    associated with the page:
    http://tinyurl.com/jw7bg
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.DreamweaverResources.com
    - CSS Templates|Tutorials
    http://www.csstemplates.com.au
    http://www.perrelink.com.au
    - Web Dev
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    "Big Regz" <[email protected]> wrote in
    message
    news:ea9cp6$clu$[email protected]..
    >
    http://www.egocreative.com.au/index.html
    >
    > This is who I am currently employed with. The site was
    done by someone
    > before
    > I started and was done outside DW (I think he used html
    code only). This
    > site
    > and any other that I am trying to open and edit can't be
    seen in design
    > view
    > but the code can be viewed, and can be seen properly in
    the browser
    > preview. I
    > really want to use this new version of DW
    >

  • Insert table in between two rows of the table in Web dynpro abap.

    Hi All,
    I have a requirment like this,
    while click on a hide/show button from the first row and last column of the table, want to display  a table(or add some rows to insert data) in between the  rows of the table and insert data in the new table .
    please help me wheather it is possible or not?
    Thanks,
    Raju.

    hi raju....
           if you want to insert rows.... then read the index of the row clicked and then read the node that is bound to the table and insert an empty row at that index and bind it back again....
           if you want another table then make use of table popin.
    --regards,
      alex b justin

  • Capturing insert done and storing the value Inserted

    Hi All
    I am trying to insert In multiple table where one tbl PK is FK of other , I achieved that functionality using Instead of Insert trigger.(PK is handled by another trigger) -- main function
    Now On successfully insert i need to captured the PK in Hidden variable to pass it on further for more insert on other table (Pk again being Fk to this table)--- secondary function
    Any inputs on this is highly appreciated.
    Thanks
    NS

    Hi
    If you are not using DML process and using your own custom insert statement. You can probably include the following statement along with your insert statement to fetch the PK value in page item.
    INSERT INTO ....;
    SELECT seq_name.nextval INTO :PX_ITEM_NAME FROM DUAL;I guess you are using sequence to generate the PK value. Please update the script as per your table and sequence name.
    Good luck.
    Regards,
    Tajuddin

  • HT5312 I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? th

    I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? then I was unable to enter until 8 hours then called Apple Japan 4 times each time threy asked me would you like to speak with an English speaker,I said yes then they told me sorry today is Sunday no English speakers ,but they refused to speak Japanese, then I called 5th time and a kind guy could speak English we were on 1and 1/2 hours he got me to log in but the reset key chain could not be completed still pending.
    He said do not mess with that ! then I got a text from somewhere to reset 4 pins suddenly it was very strange I said to him that I got this pin this morning but it said you can use maximum 3 hours it had a UK number and I told him I do not like this and will not enter the code he said do not do it if it is from the UK and then I said to him ok you did a lot to help but we can not go any further ! and we cut of I went back to my computer to re do the ID but I found everything a mess so I call and a stupid sounding Japanese women with a squeaky voice came on I was calm at first and they want your phone number your IMEI number your iPhone serial number date of birth Address email address it takes 10 munutes to check then they ask what are you caling about so I try to explain my keychain is broken or problems with language security questions and can not change my pasword because the security question have failed me so it is ONE BIG HEADACHE AND I START I GET STRESSED she says Do want an ENGLISH speaker ,I say yes ,that guy i talked to earlier but I never got his name and first time I ever talked to him but they said he is not here so I said ok and then she said today is sunday so call back in the morning ,I said ,well ok in Japanese but they make you feel stupid because they do not want to speak Jap@anese with none natives and they are to busy,And they feel that I should not bother them ,then I say that Apple Japan is trying to refuse Apple foreign customers and then she wants to hang up and ask me to visit the shop ,but they are the same I have a very bad time with Apple Japan since they do not discuss software problems or security with customer meaning if you have a problem they ask you to come on a time 20 minutes max so they do hardware test and say you phone is fine then I say no I can not reset my ID they say you must call call centre so I am going around in circles ,When I call English it is usually Australia so if my problem is in Japan surely if do not want me to talk to them in Japanese and they ask me to call Australia but every time my call charge is expensive after asking them is this free because I have Apple care they say yes but when the call goes to Australia 0120 277 535 it might change to paid call so I call then I have to ask is this charging they say we can not give you that information ! so what can I do I have have been at the computer and phone all day on my day off work and in tre week I am so busy and can not use my phone I can not work without it ,this new technology for you ,they can not cope with the fact that the customer have problems yet they do not want to deal with us because they can not solve it and so it shows them to be useless they like to walk around in their cool tee shirts and retro shop but when it comes to functionality we are unwelcome they got the money so do not return because apple is perfect that nothing should go wrong .
    But it does somehow my English security answers do not work on a Japanese Question especialy if I did not choose that question I set  up the multiple choice In English and wrote the answers in English or Roman and set them langauge preferences in English, do you really think you can correctly write english name or word in Japanese they write a police patrol car  pato caa パトカア they do not have r and l .So it is my choice to make my security easy for me and as difficult for others to hack.But they also have patororoo choo meaning ' now patrolling ' so why they have pato caa patrol car and patoro patrol and have thousands of Chinese words kanji they can find patrol.
    I am getting off the topic but I am at a loss to fix this problem when they hold the keys and i have all the info to verify my ID.

    You have to enter the Apple ID and password. You are running into the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • SCROLL_SENSITIVE result set can't see the data inserted.

    hi all ,
    I am trying to display all the latest data available in the table through SCROLL_SENSITIVE and UPDATABLE result set after inserting a new record in the table.
    But the result set obtained after executing the query initially is not able to see the newly inserted record in the table and hence same result is getting printed out in both the cases.
    Can u explain me what's happening in this case ?? And how can i get the updated record also without executing the statement query twice to get the latest result set.
    My full code is given below.
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class Misc3 {
    public static void main(String[] args) {
    Connection con = null;
    Statement stmt = null;
    ResultSet rs = null;
    try {
    int empid;
    String lname;
    String fname;
    int deptno;
    int mngrid;
    con = JDBCUtil.getOracleConnection();
    stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    String query = "select employee_id , last_name , first_name , department_number , manager_id from employees ";
    rs = stmt.executeQuery(query);
    System.out.println("Before inserting the new record.....");
    while (rs.next()) {
    empid = rs.getInt(1);
    lname = rs.getString(2);
    fname = rs.getString(3);
    deptno = rs.getInt(4);
    mngrid = rs.getInt(5);
    System.out.println(empid + "\t" + lname + "\t" + fname + "\t" + deptno + "\t" + mngrid);
    System.out.println("Going to insert the new record.....");
    rs.moveToInsertRow();
    rs.updateInt(1, 10);
    rs.updateString(2, "Clark");
    rs.updateString(3, "John");
    rs.updateInt(4, 2);
    rs.updateInt(5, 2);
    rs.insertRow();
    System.out.println("New record inserted successfully.....");
    System.out.println("After inserting the new record.....");
    rs.beforeFirst();
    while (rs.next()) {
    empid = rs.getInt(1);
    lname = rs.getString(2);
    fname = rs.getString(3);
    deptno = rs.getInt(4);
    mngrid = rs.getInt(5);
    System.out.println(empid + "\t" + lname + "\t" + fname + "\t" + deptno + "\t" + mngrid);
    } catch (SQLException ex) {
    System.out.println("error code : " + ex.getErrorCode());
    System.out.println("error message : " + ex.getMessage());
    } finally {
    JDBCUtil.cleanUp(con, stmt);
    *** JDBCUtil Class ****
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Statement;
    public class JDBCUtil {
    public static Connection getOracleConnection(){
    Connection con = null;
    try{
    // Load the driver
    Class.forName("oracle.jdbc.driver.OracleDriver");
    //Establish Connection
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","ex","ex");
    }catch(Exception ex){
    ex.printStackTrace();
    return con;
    public static void cleanUp (Connection con , Statement stmt){
    // Release the resource
    try{
    if(con != null){
    con.close();
    if(stmt != null){
    stmt.close();
    }catch(Exception ex){
    ex.printStackTrace();
    Edited by: user12848632 on Aug 13, 2012 2:06 PM

    >
    Can u explain me what's happening in this case ?? And how can i get the updated record also without executing the statement query twice to get the latest result set.
    >
    Sure - but you could have answered your own question if you had read the doc link I gave you in your other thread and next time you post code use \ tags on the lines before and after the code - see the FAQ for info
    17076 : Invalid operation for read only resultset
    {quote}
    •Internal INSERT operations are never visible, regardless of the result set type.
    {quote}
    See •Seeing Database Changes Made Internally and Externally in the JDBC Dev doc I pointed you to
    http://docs.oracle.com/cd/B28359_01/java.111/b31224/resltset.htm#i1024720
    Did you notice the words 'never visible'? You won't see them as part of the result set unless you requery.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Not able to retrieve and insert the value to Home_country filed in MDM

    Hi All,
    I am new to the JAVA API,
    I have creted one application in webdynpro using the JAVA API. I am able to search the data based on "Firstname" "Lastname" and "Email address".
    I need to basically two functionalities
    1) Search
    2) Insertion of new records
    *1) Search*__
    But searching based on the Country is not able to do it.
    we have two tables .
    1) Country table> Contains all the list of the country codes and County name.
    2) People table > Contains the country filed. So for this filed lookup table is country. also this country filed is drop down  not have opton edit in the MDM.
    I am sending the following used for searching the records based on the First Name and country.
    But based on the first name it is working fine but Country it is giving some code like "R100" "R12". It is not givng the actual name of the country.
    FieldSearchDimension sd1 = new FieldSearchDimension(fields[2].getId());
                   TextSearchConstraint sc1 = new TextSearchConstraint(First_Name,TextSearchConstraint.EQUALS);
                   sch.addSearchItem(sd1,sc1);          
    FieldSearchDimension sd4 = new FieldSearchDimension(fields[9].getId());
                   TextSearchConstraint sc4 = new TextSearchConstraint(Home_Country,TextSearchConstraint.EQUALS);
    //               TextSearchConstraint sc4 = new TextSearchConstraint("IN",TextSearchConstraint.EQUALS);
                   sch.addSearchItem(sd4,sc4);
    cmd = new RetrieveLimitedRecordsCommand(connections);
                   cmd.setResultDefinition(rdPeople);
                   cmd.setSearch(sch);
                   cmd.setSession(sessionId);
    try
                        cmd.execute();
                        catch(CommandException e)
                             e.printStackTrace();
                        recs = cmd.getRecords();
                        wdContext.nodeResult_Table().invalidate();
    //retreiving the Data from the resultset
    if(recs.getCount()!=0)
      for(int i=0;i<recs.getCount();i++)
           //First Name
         IResult_TableElement resEle=wdContext.nodeResult_Table().createResult_TableElement();
         if(!(recs.getRecord(i).getFieldValue(fields[0].getId()).isNull()))
         //wdComponentAPI.getMessageManager().reportSuccess("Network Id-->"+recs.getRecord(i).getFieldValue(fields[0].getId()).toString());
         resEle.setNetwork_ID(recs.getRecord(i).getFieldValue(fields[0].getId()).toString());
           //Country
          if(!(recs.getRecord(i).getFieldValue(fields[9].getId()).isNull()))
         resEle.setDisplay_Name(recs.getRecord(i).getFieldValue(fields[9].getId()).toString());
         wdContext.nodeResult_Table().addElement(i,resEle);
    By the above field is not giving the respective country name is avilable. it is giving some value"R100" rather giving of India.
    _ 2)  For creating the record in the  "people" table._
    I am able to insert the data all the information "firstname" "Last name", "email" except "Country" entered by the user by using the following code.
    //Insert
    First_Name=wdContext.currentPersonal_DetailsElement().getAttributeAsText("First_Name");
         Last_Name=wdContext.currentPersonal_DetailsElement().getAttributeAsText("Last_Name");
         Middle_Name_or_Initial=wdContext.currentPersonal_DetailsElement().getAttributeAsText("Middle_Name_or_Initial");
         Home_Country=wdContext.currentPersonal_DetailsElement().getAttributeAsText("Home_Country");
    CreateRecordCommand createRecordCommand =new CreateRecordCommand(connections);
         Record r1 = RecordFactory.createEmptyRecord(tables[0].getId());     
         try
    //               Retrieve Lookup Field Properties, when Field Properties is given as input.
    //           LookupFieldProperties lookupField = (LookupFieldProperties) fields[9];          
    ////     Retrieve Lookup Field Properties, when Field Properties is given as input.
    //           LookupFieldProperties lookupFieldSer = (LookupFieldProperties) fieldProp;
    //          //setting the values for firstname and lastname
            r1.setFieldValue(fields[0].getId(),new StringValue(Network_ID));
            r1.setFieldValue(fields[2].getId(),new StringValue(First_Name));
            r1.setFieldValue(fields[3].getId(),new StringValue(Last_Name));
    r1.serFieldValue(FieldValue(fields[9].getId(), new Stringvalue(Home_country));
            createRecordCommand.setSession(sessionId);
            createRecordCommand.setRecord(r1);
         try {
              createRecordCommand.execute();
          } catch (CommandException e2) {
    Let me know what are the changes need to be done for inserting the country information in people table.

    Hi Greg,
    Thanks for the reply,
    Actually,I  was doing the same thing what  you suggested. I am sending the piece of code . Can look it it .Is any thing wrong.
              //inserting the Country lookup filed to record object.
    *       if(Home_Country.length()!=0)*
    *     /when pass the int position number for the country by retreiving from the country table it is working fine. But we      cannot depend on position. Because People table internally refering the other db table while inserting the country      filed in the People table./     *
    *          r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId(12)));*
    *     //When i PAss the String to the following function i am getting the unsupportedFormat Exception          *
    *          r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId("Australia")));*
    InCountry . They have defined only two columns called.
    1) ISO-2 Code
    2) Country Name.
    Sample data
    ISO-2 Code  |   Country Name
    US                    United StatesOf America
    AU                    Australia
    Ar                     Argentina
    Like the above data we have 250 country names
    So , I displaying all the country list in my interface and holding in the Array.
    Ex: When the user chooses the Australia.  When I pass directly as an "Australia" to
    r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId("Australia"))).  it is giving me error.
    Then i try to pass the postion of the"Australia" in country table. Like if the Austrila is an 2 record. I am looping through my array and find the record position as "2".
    I am passing as
    r1.setFieldValue(fields[9].getId(),new LookupValue(new RecordId(2)));
    It is inserting into the people database. But not an Australia. It is inserting as "Argentina".
    When the record inserting in people table refering some table at the database level , that table called "A2i_16_TEXT" This contains three columns.
    A2i_16_TEXT(columns)
    1) Id
    2) LangId
    2) Field Id
    4) TextField
    Example Data
    Id  |  LangId  |  Textfield
    3       0            Australia
    2       0            Argentina
    4       0            United States Of America
    As i am showing the above table for "Argentina" Id is "2". When i pass the 2 for inserting the country filed.Instead of inserting "Australia". It is inserting the "Argentina" by refering this table.
    Through MDM API we are not able to access this " A2i_16_TEXT"  table. Because it is maintaining at the db level to find the perticular id for the respective country before inserting in to the people table.
    So kindly suggest me how to solve this problem. What i am doing in the code is correct or not.
    Regards
    Vijay

  • In new iPad 4g, when sim card is not inserted, I can not find the enable 4g tap in the setting-cellular data tap, can some one please tell me if this is normal and if so, then when it appears, thanks

    In new iPad 4g, when sim card is not inserted, I can not find the enable 4g tap in the setting-cellular data tap, can some one please tell me if this is normal and if so, then when it appears, thanks

    If the SIM is out of your phone, find my phone needs a data connection, so could use wifi - IF in range of a wifi and one that it can join (ie. a known network or one that is wholly open so no login required).  Your phone could also simple be turned off, so not findable, or it may have been restored (plugged into iTunes and restored as new) again, making it permanently unfindable.  Honestly, for someone stealing an iPhone, this is likely the first thing they do - restore as new and it is theirs forever.
    Find my iPhone is tied to the users iCloud account - the find function is part of the iCloud account's services and it communicates with the iCloud servers over a data connection - either wifi or 3G.
    Have you set up your iCloud account on your replacement phone, and is it working properly on that phone?

  • SQL Loader Inserts chr(13) and chr(10) in the first column of every row.

    Hi,
    I have exported a data in a pipe delimited file using TOAD in one database. Now I want to load the data in my local database using SQL Loader. However every time I try to load the data a double quote followed by a new line is entered for the first column of each row. Unfortunately the delimited file is very big and hence can't be posted here. However I tried the same with a customized table and its data and found the same problem. Below are the table structures and control file that I used.
    create table test_sql
    a varchar2(30),
    b date
    insert into test_sql values('51146263',sysdate-3);
    insert into test_sql values('51146261,sysdate-1);
    EXPORTED PIPE DELIMITED FILE_
    A|B|!##!
    51146261|04/14/13 4:55:18 PM|!##!
    51146263|04/12/13 4:55:32 PM|!##!
    create table test_sql1 as select * from test_sql where 1=2;
    CONTROL FILE_
    OPTIONS(SKIP=1)
    LOAD DATA
    INFILE 'C:\Users\Prithwish\Desktop\Test.txt' "str '!##!'"
    PRESERVE BLANKS
    INTO TABLE TEST_SQL1
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    A CHAR(2000),
    B DATE "MM/DD/YYYY HH12:MI:SS AM"
    select * from TEST_SQL1;
    After this when I paste it in notepad I get the following result
    A B
    51146261"     14-APR-0013 16:55:18
    51146263"     12-APR-0013 16:55:32.
    I have no idea how the quotes or the newline appear. Is this a Toad bug? Any help would be greatly appreciated. Really urgent.
    Thanks in advance
    Regards

    Hi Harry,
    I actually thought that the str !##! was causing the problem. Actually my original export has some new lines in some specific columns so I can't keep the new line as my line terminator and hence I kept the !##! as my terminator.
    When I put the same data in a notepad and load it there is no problem at all. For e.g I just typed the following in a notepad and the data loaded just fine.
    A|B|!##!
    51146261|01-01-01 10:10:10 AM|!##!
    51146263|01-01-01 11:11:11 AM|!##!
    Its just when I load the exported file there the problem arises though I have verified the file using UNIX as well using octal dump and found no hidden characters.
    Regards,
    Prithwish

  • SharePoint List Form using InfoPath 2010 "Cannot insert the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls"

    I am experiencing issue with my SharePoint site , when I am trying to add new Item in List . Error given below :--> 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 SharePoint Server Logging Correlation Data 9gc5 Verbose Thread change; resetting trace
    level override to 0; resetting correlation to e2e9cddc-cf35-4bf8-b4f3-021dc91642da c66c2c17-faaf-4ff9-a414-303aa4b4726b e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.13 w3wp.exe (0x2E04) 0x07E8 Document Management Server Document Management 52od
    Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/sites/00003/Lists/PM%20Project%20Status/NewForm.aspx?RootFolder=&IsDlg=1]. Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3)
    level for this list. e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015 08:23:36.17 w3wp.exe (0x1B94) 0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Starting correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.17 w3wp.exe (0x1B94)
    0x1A0C SharePoint Server Logging Correlation Data 77a3 Verbose Ending correlation. b4d14aec-5bd4-4fb1-b1e3-589ba337b111 02/03/2015 08:23:36.31 w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Cannot insert
    the value NULL into column 'tp_DocId', table 'Content_SP_00003.dbo.AllUserData'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavi... e2e9cddc-cf35-4bf8-b4f3-021dc91642da 02/03/2015
    08:23:36.31* w3wp.exe (0x2E04) 0x07E8 SharePoint Foundation Database 880i High ...or runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream,
    Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
    RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
    command, CommandBehavior behavior,

    Are you trying to setup P2P? Could you explain the process you followed completely? By anychance you create the backup and then created the publication?
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

Maybe you are looking for

  • Error while installing ORACLE 10G on Windows

    Dear All, Previously i had installed ORACLEM 9i. I deinstalled using UNIVERSAL INSTALLER .Now when i try to install ORACLE 10g it is giving error ERROR : ERROR IN Writing to direcotory c:\documets~\rajeshrr~1\temp\Orainstall2009-08-23.Please ensure d

  • Support IP Phone 7912 on CUCM 8.6?

    pleasse can anybody tell me if 7912 is supported in CUMC 8.6,  in the release notes it´s not mentioned

  • How to add  functionality in  SAP tables

    Hi All, i created one  enchancement to ME31K screen, i added one button to contract header  page when user click on this button it will tak me to my functionlity. and in my screens i added one more button that will tak me to contract header  page.( i

  • Call ABAP-Proxy with SOAP adapter?

    Hi all, for a PI7.1-scenario I would like to use the Lookup-API in mapping. As I know I can use either RFC or SOAP channels, however I would rather call an ABAP-Proxy in my backend system instead. So my question is: Is it technically possible to use

  • What's the better?

    The Mighty ALL!!! Please tell me: " What kind of environment is better for Java programing? e.g. SomeOne Editor ( not NotePad ) with color flashes and sintax correctors".