Insert/retrieve Urdu language in the Oracle.

Hi All,
I am working on PHP with Oracle 9i.
I want to insert/retrieve Urdu language in the table's field.
I have experienced in MYSQL, it is working fine but not oracle.
In oracle I have been setting the CharaterSet = UTF8 and field datatype
nVarchar & nChar.
But fail to get result
Anyone have experience about it please share with me.
Thanks
Regards,
Mobeen

Take some time to read chapter 13, Globalisation in the Underground PHP and Oracle Manual.
http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf
That should give you some help in setting it up.
Alison

Similar Messages

  • How to enter URDU Language data in Oracle

    hi,
    im having great problems in entering Urdu Language data in Oracle 9i rel.2 database on win2000 ad. server having my client PCs on windows xp,, then front end of our application being in developing process,,in .net framework,,using vb.net,,now windows xp is supporting urdu and data in urdu language is entered properly from the front end application but oracle is not supporting it,, and not displaying right translated characters,,my country is Pakistan,,laguage is Urdu,,the character set of my database is we8mswin1252 and national character set is al16utf16,,
    plz help me wriggle out the situation.
    regards
    umar

    I am not completely certain what Oracle character sets support Urdu, but I can say that Windows-1252 certainly does not. You probably want to use UTF-8 as the database character set.
    Unfortunately, changing the database character set generally requires rebuilding the database. You cannot use the ALTER DATABASE command here, since UTF-8 is not a strict binary superset of Windows-1252.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to insert multi language data to oracle database

    Hi ,
    Can any one suggest the steps involved in implementing storage/retrieval of data in the language otherthan english on the database?. I am using Oracle 9i database.
    I want to write sql scripts to insert data to the database.How can i insert the data in the language otherthan english i.e hindi. ensuring storage and display of data is fine at the backend.
    CHARACTERSET is set AL32UTF8 and need to insert the data in the NVARCHAR2 datatype enabled column.
    Any suggestions would be greatly appreciated.
    Thanks and Regards,
    Poornima

    If you can write the text in Notepad, then enter the text and save the file with the encoding "Unicode big endian". Then, open the file in a hex editor. The first two bytes will be 0xFE and 0xFF (this is the Byte Order Mark). This code should be skipped for database storage as it is relevant to flat files only. What follows are two-byte character codes that you can put into UNISTR calls. The file with the word "Patra" will show up in the hex editor as:
    FE FF 09 2a 09 24 09 4d 09 30
    If you can enter the characters in your HTML browser, you can use the very useful conversion page at http://rishida.net/tools/conversion/ (this is not an official endorsement from Oracle but my personal advice). Enter the characters into the "Characters" text area and click on the corresponding [Convert] button. The "Hexadecimal code points" field will tell you the codes that you need to prefix with backslash and put into the UNISTR call.
    If you are unable to enter the characters on your workstation, then you can identify each letter in the text and look it up in the Unicode character database at http://www.unicode.org/Public/UNIDATA/Index.txt or http://www.unicode.org/Public/UNIDATA/NamesList.txt. The four-digit hexadecimal codes listed there are what you are looking for. Unfortunately, such lookup will not work for Chinese Han and Japanese Kanji characters as they have no names in Unicode.
    Another method is to use files in another language-specific encoding and convert them to Unicode before loading them into the AL32UTF8 database.
    -- Sergiusz

  • Insertion of Urdu Data in Oracle 8i

    Hello friends,
    I am working on an web-db application. I have to insert the records into Oracle 8i database in Urdu language. I am doing this using the J2EE architecture. Can someone please help me in this regard or send me a java piece of code in which Urdu data is being inserted into Oracele 8i database.
    I shall be very thankful to you.
    Regards,
    Salheen Bakhet.

    i am trying to put excel sheet data into oracle
    8.0.5.0 , one time not at runtime again and agin ,
    what the actuall commands are u describe steps but i
    can not understand it bec i did not do it before plz
    explain with actuall process command
    to put data from excel sheet to oracle 8.0.5.0
    A.ROne time
    If you have Enterprise manager then at that time Oracle had own tools which is ORACLE MICROSFT ACCESS TOOL check yours enterprise manager ,
    ORACLE MICROSFT ACCESS TOOL need mdb format data and if i am not wrong you can convert yours excel sheet to mdb then use this mdb for ORACLE MICROSFT ACCESS TOOLS it is wizard base GUI tool play with it its easy you can achieve it.
    ORACLE MICROSFT ACCESS TOOLS now it comes in ENAHNCED shape
    ORACLE MIGRATION WORK BENCH for 8i,9i server.
    Khurram

  • Insert data 32K into a column of type LONG using the oracle server side jdbc driver

    Hi,
    I need to insert data of more than 32k into a
    column of type LONG.
    I use the following code:
    String s = "larger then 32K";
    PreparedStatement pstmt = dbcon.prepareStatement(
    "INSERT INTO TEST (LO) VALUES (?)");
    pstmt.setCharacterStream(1, new StringReader(s), s.length());
    pstmt.executeUpdate();
    dbcon.commit();
    If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
    Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
    even if the string s exceeds a length of 32767 bytes.
    I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
    What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
    Any idea would be appreciated.
    Thomas Stiegler
    null

    In rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
    Known Problems/Limitations In This Release
    <entries 1 through 3 omiited for brevity >
    4. The Server-side Internal Driver has the following limitation:
    - Data access for LONG and LONG RAW types is limited to 32K of
    data.

  • How to download and Install bos.loc.utf.EN_US Package for the Oracle BI locale setting english-usa language in Windows 7 64bit

    OBIEE 11G Installation error during configuration steps with message "Distributing Repository" failed.
    I searched lot of forums but all they say, install bos.loc.utf.EN_US Package for the Oracle BI locale setting english-usa language. From where we can download this package.
    Thanks in advance.

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?

    How can I stop the oracle XSLT processor from inserting extra whitespace in HTML?

    Use <xsl:output mode="html" indent="no"/> as a top-level element child of your <xsl:stylesheet> element.

  • Oracle insert problem(records not in the order they are inserted)

    hi, all:
    I tried to insert a word list into a oracle table, everything is fine except that the words are not in the order they are inserted. For example, the words are inserted in the following sequence:
    accreted     
    accreting     
    accretion     
    accretionary     
    accretive     
    bladebone
    bladed     
    bladeless
    bladelike
    When I retrived the resultset from the table and iterate through each of the record, the words are not in the order inserted, i.e., it may look like this,
    accreted     
    accreting     
    bladebone
    bladed     
    accretion     
    accretionary     
    accretive     
    bladeless
    bladelike
    This strange phenomenon won't happen when the word list is small, like 500 words or so, but when the number of words reaches around 10,000, it takes place. My coworker also experienced this problem when trying to insert large volume of data into oracle table.
    The code I used to insert into the DB table:
    BufferedReader reader=new BufferedReader(new FileReader("C:\\Dictionary.txt"));
    while( (line=reader.readLine())!=null )
         sql="INSERT INTO DICT " +
         "VALUES ('" + line +"')";                         
         statement.executeUpdate(sql);
    Any advice will be highly appreciated,
    thanks

    Well, the best thing to do is follows scsi-boy's advice and add the additional column and either put a sequence number in it from the Java side as you insert, or use an Oracle sequence object to put a sequence number in it from the Oracle side (which is sort of like an auto-generated value, but different).
    Note that an Oracle sequence generates numbers in sequence, but possibly with gaps (usually if the database is rebooted), unless you do some things that slow sequences down substantially. Sequences can also be something of a bottleneck on RAC clusters. See:
    http://www.dizwell.com/oracle/articles/autonumbering.html
    However, if your coworker is commiting after each and every insert (which is bad form and slows the database down, -10 points), and if your coworker is also never ever ever updating the columns after they've been inserted, and if your coworker is using Oracle 10g and not some older version such as 9i, then your coworker could use the ORA_ROWSCN pseudo-column to order by. Those are very very severe constraints and you shouldn't begin to consider doing it that way without a very good reason, and right now you and your coworker wouldn't know a good reason if it snuck up and bit you on the butt, you've got a lot of learning the basics first.

  • Auto Increment ID Field Table in the Oracle Database (insert new record)

    I have been using the MySQL. And the ID field of the database table is AUTO INCREMENT. When I insert a new record into a database table, I can have a statement like:
       public void createThread( String receiver, String sender, String title,
                                 String lastPostMemberName, String threadTopic,
                                 String threadBody, Timestamp threadCreationDate,
                                 Timestamp threadLastPostDate, int threadType,
                                 int threadOption, int threadStatus, int threadViewCount,
                                 int threadReplyCount, int threadDuration )
                                 throws MessageDAOSysExceptionand I do not have to put the ID variable in the above method. The table will give the new record an ID number that is equivalent to the ID number of the last record plus one automatically.
    Now, I am inserting a new record into an Oracle database table. I am told that I cannot do what I am used to doing with the MySQL database.
    How do I revise the createThread method while I have no idea about what the next sequence number shall be?

    I am still very confused; in particular, the Java part. Let me try again.
    // This part is for the database table creation
    -- Component primary key sequence
    CREATE SEQUENCE dhsinfo_page_content_seq
        START WITH 0;
    -- Trigger for updating the Component primary key
    CREATE OR REPLACE TRIGGER DHSInfoPageContent_INSERT_TRIGGER
        BEFORE INSERT ON DHSInfoPageContent //DHSInfoPageContent is the table name
        FOR EACH ROW WHEN (new.ID IS NULL) // ID is the column name for auto increment
        BEGIN
            SELECT dhsinfo_page_content_seq.Nextval
            INTO :ID
            FROM DUAL;
        END;/I am uncertain what to do with my Java code. (I have been working with the MySQL. Changing to the Oracle makes me very confused.
       public void updateContent( int groupID, String pageName, int componentID,
                                  String content, Timestamp contentCreationDate )
                                   throws contentDAOSysException
       // The above Java statement does not have a value to insert into the ID column
       // in the DHSInfoPageContent table
          Connection conn = null;
          PreparedStatement stmt = null;
          // what to do with the INSERT INTO below.  Note the paramether ID.
          String insertSQL = "INSERT INTO DHSInfoPageContent( ID, GroupID, Name, ComponentID, Content, CreationDate ) VALUES (?, ?, ?, ?, ?, ?)";
          try
             conn = DBConnection.getDBConnection();
             stmt = conn.prepareStatement( insertSQL );
             stmt.setInt( 1, id ); // Is this Java statement redundant?
             stmt.setInt( 2, groupID );
             stmt.setString( 3, pageName );
             stmt.setInt( 4, componentID );
             stmt.setString( 5, content );
             stmt.setTimestamp( 6, contentCreationDate );
             stmt.executeUpdate();
           catch
           finally

  • Run report in oracle 9i and report 9i in  urdu language

    hello all ,
    me have a database in english me want to print some my reports my report in urdu languade
    how it ll possible
    regard
    mahr

    Dear Maher Haider,
    Did you success to change report in URDU language if yes then kindly forward the great information to me also.
    Dear becasue one of the module we are working on we convert the form and reports both into URDU langauge.
    My database is 8.0 and form developer is 6i
    Waiting for your great response.
    Regards,
    K.J.J.C

  • Any way to insert the XML generated from dataTable into the oracle?

    Hi guys,
    I want to know if there is a way to insert the XML generated from dataTable(dataTable.GetXML()) into the oracle?
    Thanks in advance,

    There is o extractor to load assessment cycles; instead you can load dtaa after the assesment cycle is complte in R/3. You can schdeule the job in BW accordingly.
    May I know what exactly is the requirement.
    Ravi Thothadri

  • Is the Oracle installer itself available in languages other than English?

    I know that Oracle can be configured to support multiple languages in the same database, but is the Oracle installation software itself (and/or corresponding documentation) available in other languages?

    Ah :-) MOS = My Oracle Support http://metalink.oracle.com (Oracle Support website)
    You will need a valid login to get access - a valid login is given when you purchase Support services from Oracle :-)
    The installer is available in several languages and it determines the language to run in automatically based on "locale" settings on the server where the installer is run.
    See http://www.oracle.com/technology/products/osp/htdocs/universal_installer_overview.html
    HTH
    Srini

  • How to rechoose or add the Oracle 10g AS's support language?

    hi all,
    I Installed the Oracle 10g As on a redhat as 3 with sp4. and I did not choose any other languages support while install the Oracle 10g AS. All were fine except that while I accessed the server's 1810 port with IE6, I got additive device. Some charatersets display right while some such as buttons display as a litter pane.
    so my question is how to rechoose the Oracle 10g AS's support language and set one of my preference to as default character set !
    I am not sure whether this problem just relate to the emctl's startup parameter.
    regards,
    Ari

    Finally, I reinstalled the Oracle Application Server 10g on the same Operration System. Any modification of the setting in my computer hasn't been made. in the course of installation, all the operation steps were the same with the previous time, except for adding a language support.
    And this time, to access the em manager console with IE, all runs fine without any additive device. The buttons display the right words now. And I found there are something different in the folder $ORACLE_HOME/sysman/webapps/emd/cabo/images/cache/.
    But I still have not any idea how to correct this problem on an installed system if I meet next time. Do I must reinstall anytimes? Or there just need to modify some config files?

  • Retrieving the userid's that are accessing the Oracle Portal

    We are using Oracle Discoverer Portal 10g and are looking at the option of finding out how many and which users are accessing this portal and for how long? Is there anyway of retrieving this information.

    Your question is best asked on the Oracle Portal forum.
    For Oracle Weblogic Portal, this can be done with the Oracle WebCenter Analytics for WebLogic Portal product. Details can be found here under "Oracle WebCenter Analytics (for Oracle WebLogic Portal)".

  • Issues in inserting record in the Oracle table from BizTalk

    HI ,
    I am getting some problem in the fields of types FLOAT or NUMBER type in the oracle table. while inserting data from BizTalk it is showing that the field value is invalid. as per shown below
    The adapter failed to transmit message going to send port "Sp_ImpexIntegration_AX_Profile_Impex" with URL "oracledb://spj1/". It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException:
    The value for field "ACTUALWEIGHT_LASTDIE" is invalid. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: numStr
       at Oracle.DataAccess.Types.OracleDecimal..ctor(String numStr, String format)
       at Microsoft.Adapters.OracleCommon.OracleCommonMetadataUtils.CreateParameterValue(OracleDbType oracleType, Object xmlValue, OracleConnection dbConn, Boolean ignoreLOB, String fieldName)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
    Please suggest.
    Regards,
    Gyan

    Hi Gyan,
    The error reads  The value for field "ACTUALWEIGHT_LASTDIE" is invalid.  Value cannot be null.
    You need to ensure below things:
    1) Ensure that all the columns in the oracle table allow NULL.
    2) The field which is getting the error should have property Nillable set to True and Min Occurs = 0.
    3) You also need to configure your WCF_Oracle adapter properly i.e. SOAP Action (see for instance this
    thread).
    Why SOAP Action?
    If you used the default bindings which were created when generating your schema, they are usually created wrapped within an operation.
    Unless the send port within your orchestration's operation matches the same name as the enclosing operation tag in the "SOAP action header" sending messages using the default setting will fail.
    So to ensure that your send port works just supply a URL for the "SOAP action header" setting.
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for