Sysdate in Chinese

Hi,
I want to display date in Simple Chinese with format 'YYYY-MM-DD' can anyone please tell me how to achive this?
I tried with
select TO_CHAR (SYSDATE, 'YYYY-MM-DD','nls_date_language=''Traditional Chinese''') from dual
But it does not work.
Regards,
Priya

but this gives me output as 2006-7¿ -26, where ¿ is chinese character.Is your client machine box can print to screen the chinese characters ?
Maybe you can find more help in Globalization Support Forum :
Globalization Support
Or in the online doc :
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14225/toc.htm
Nicolas.

Similar Messages

  • The output of sql loader displays '?' for the chinese character

    I'm run the sql loader to import the data. The following is the ctl script:
    LOAD DATA
    CHARACTERSET ZHS16CGB231280
    APPEND
    INTO TABLE xxabc_gti_feedback
    when (5:6) ='~~' and (8:9)='~~'
    FIELDS TERMINATED BY "~~"
    TRAILING NULLCOLS
    absoluted
    ,exist_lists
    ,invoice_type
    ,invoice_category_code
    ,invoice_number
    ,line_count
    ,invoice_date DATE "YYYYMMDD"
    ,invoice_month
    ,trx_number
    ,amount_without_tax
    ,tax_rate
    ,tax_amount
    ,gti_feedback_id "xxban_gti_feedback_s.nextval"
    ,creation_date sysdate
    ,last_update_date sysdate
    EBS version: R12(12.0.4)
    The characterset of database is UTF-8
    The file characterset is GB2312
    The following is the example of data file.
    SJJK0201~~已开发票传出
    39~~20110413~~20110413
    //发票1
    0~~0~~0~~325676740~~11085979~~3~~20110413~~04~~~~3336.71~~0.17~~567.24~~珠海XX机电设备有限公司~~440407897878~~珠海市香洲区XXX 0756-3666666~~建行前山支行777777~~XX电子(苏州)有限公司~~32170078678890~~苏州工业园区 6267565~~中国银行园区支行25456672~~1653\n31263\n67126~~XXX~~XXX~~XXX
    0~~aaa~~P83782~~个~~2~~6854.70~~0.17~~1165.30~~4010~~1~~1601
    1~~bbb~~~~~~~~-4065.00~~0.17~~-691.05~~~~1~~1601
    0~~ccc~~P80792~~个~~4~~547.01~~0.17~~92.99~~160~~1~~1601
    I create a sql*loader concurrent program to load the data. the data can be loaded into the table successfully(The chinese customer name is correct). Only for the aborted lines, it will be listed in the outtput of the concurrent request, but out of my expect, the chinese characters in the output are displayed as '?'.
    How to solve the issue? Thanks.
    Edited by: 852938 on 2011-4-17 下午10:41

    like the following:
    SJJK0201~~??????????
    39~~20110413~~20110413
    //???1
    0~~aaa~~P83782~~??~~2~~6854.70~~0.17~~1165.30~~4010~~1~~1601
    1~~bbb~~~~~~~~-4065.00~~0.17~~-691.05~~~~1~~1601
    0~~ccc~~P80792~~??~~4~~547.01~~0.17~~92.99~~160~~1~~1601
    You can find that any chinese characters are became '?'. The loaded line(Line 4th) is not listed in the output.
    Thanks for your quick answer! :)

  • Query help : Query to get values SYSDATE-1 18:00 hrs to SYSDATE 08:00 hrs

    Hi Team
    I want the SQl query to get the data for the following comparison : -
    Order Created is a Date Column , and i want to find out all the values from (SYSDATE-1) 18:00 hours to SYSDATE 08:00 hours
    i.e.
    (SYSDATE-1) 18:00:00 < Order.Created < SYSDATE 08:00:00.
    Regards

    Hi, Rohit,
    942281 wrote:
    If i want the data in the below way i.e.
    from (SYSDATE-1) 18:00 hours to SYSDATE 17:59 hours ---> (SYSDATE-1) 18:00:00 < Order.Created < SYSDATE 07:59:00.If you want to include rows from exactly 18:00:00 yesterday (but no earlier), and exclude rows from exatly 08:00:00 today (or later), then use:
    WHERE   ord_dtl.submit_dt  >= TRUNC (SYSDATE) - (6 / 24)
    AND     ord_dtl.submit_dt  <  TRUNC (SYSDATE) + (8 / 24)
    So can i use the below format : -
    ord_dtl.submit_dt BETWEEN trunc(sysdate)-(6/24) and trunc(sysdate)+(7.59/24) . Please suggest . .59 hours is .59 * 60 * 60 = 2124 seconds (or .59 * 60 = 35.4 minutes), so the last time included in the range above is 07:35:24, not 07:59:59.
    If you really, really want to use BETWEEN (which includes both end points), then you could do it with date arithmentic:
    WHERE   ord_dtl.submit_dt  BETWEEN  TRUNC (SYSDATE) - (6 / 24)
                      AND         TRUNC (SYSDATE) + (8 / 24)
                                               - (1 / (24 * 60 * 60))but it would be simpler and less error prone to use INTERVALs, as Karthick suggested earlier:
    WHERE   ord_dtl.submit_dt  BETWEEN  TRUNC (SYSDATE) - INTERVAL '6' HOUR
                      AND         TRUNC (SYSDATE) + INTERVAL '8' HOUR
                                               - INTERVAL '1' SECONDEdited by: Frank Kulash on Apr 17, 2013 9:36 AM
    Edited by: Frank Kulash on Apr 17, 2013 11:56 AM
    Changed "- (8 /24)" to "+ (8 /24)" in first code fragment (after Blushadown, below)

  • Window 8.1 Chinese character cannot display properly in a game even though I have downloaded and install all chinese language packs

    Hi,
    The operation system for my computer is Window 8.1. I am currently trying to install a chinese game. Even though I have downloaded and install all the chinese language pack, I have even set the regional language locale to chinese (similified / traditional),
    the chinese characters will not display properly in the game. Some people told me i need to set the locale to Chinese PRC, but I am not sure where to download this PRC language pack for window 8.1 (as I only have chinese simplified and chinese traditional).
    I would greatly appreciate if someone can give me a hand in solving this problem. Thank you for your help in advance. 

    Hi,
    The operation system for my computer is Window 8.1. I am currently trying to install a chinese game. Even though I have downloaded and install all the chinese language pack, I have even set the regional language locale to chinese (similified / traditional),
    the chinese characters will not display properly in the game. Some people told me i need to set the locale to Chinese PRC, but I am not sure where to download this PRC language pack for window 8.1 (as I only have chinese simplified and chinese traditional).
    I would greatly appreciate if someone can give me a hand in solving this problem. Thank you for your help in advance. 
    Hi,
    Please open Region, under administrative -> Language for non-Unicode programs: choose Chinese.
    Kate Li
    TechNet Community Support

  • How to upload chinese word in the R/3 with fileupload element?

    HI, experts,
    I am working with a File Upload Web Dynpro Application. And i am using the File Upload UI Element to upload data to R/3, every thing works fine if i upload the file that content is English word. I have 2 questions :
    (1)But it give me dump. Stat 'A character set conversion is not possible'  if I try to upload the file that content is Chinese word.
    (2) But it give me dump. Stat 'A character set conversion is not possible' if I try to upload a pdf file that content is English word.
    The code is:
    method ONACTIONON_UPLOAD .
    DATA XCONTENT TYPE XSTRING.
    DATA: CONTENT TYPE STRING .
    DATA: MIME_1 TYPE STRING .
    DATA: NAME TYPE STRING .
    DATA:
    ROWS TYPE STANDARD TABLE OF STRING ,
    WA_ROWS(300) TYPE C .
    DATA: CONV TYPE REF TO CL_ABAP_CONV_IN_CE.
    DATA: INPUT TYPE REF TO IF_WD_CONTEXT_NODE.
    INPUT = WD_CONTEXT->GET_CHILD_NODE( 'INPUT' ).
    INPUT->GET_ATTRIBUTE( EXPORTING NAME = 'UPLOAD' IMPORTING VALUE = XCONTENT ).
    INPUT->GET_ATTRIBUTE( EXPORTING NAME = 'FILENAME' IMPORTING VALUE = NAME ).
    INPUT->GET_ATTRIBUTE( EXPORTING NAME = 'MIMETYPE' IMPORTING VALUE = MIME_1 ).
    CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = XCONTENT ).
    CONV->READ( IMPORTING DATA = CONTENT ).
    SPLIT CONTENT AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE ROWS .
    LOOP AT ROWS INTO WA_ROWS .
    ENDLOOP.
    endmethod.
    could you please suggest for uploading Chinese word ?
    could you please suggest for uploading English word in the pdf file?
    Thanks
    Mahesh

    Hi, experts,
    It is ok. I changed my code. The chinese word is transfered the R/3 system.
    Thanks.
    Best regards,
    tao

  • How to insert the sysdate time into the database

    hi all,
    when i execute the following query,
    insert into table_name
    (date_field)
    values
    (to_date(sysdate, 'yyyy/mm/dd hh24:mi:ss'));
    The value is inserted as 08-02-12 12:00:00. In this query, it always stores the default time as 12 a.m.
    But i need to insert the original system time not the default one.
    please help me how to rectify it.

    I do not understand as to why you are using the to_date function on sysdate since sysdate is already in date format.
    If date_field is of the data type date, then the following dml should work.
    insert into table_name(date_field) values (sysdate);
    In case date_field is a varchar2 field and you want to store the date and time in a string format, then the following statement should work.
    insert into table_name (date_field)
    values (to_char(sysdate, 'yyyy/mm/dd hh24:mi:ss'));

  • Can Not Display Normal Chinese Chars in JSP

    Hi,
    I am displaying some chinese chars in a normal JSP file but it show me some
    funny things. If I get the data from the oracle and the information is chinese,
    then it display correctly. And I try another thing that I save the noraml JSP
    (without any java code) to a html and it is working fine. Same content, if saved
    as HTML, then ok. If saved as JSP, then got problem. I am using weblogic 6.1.
    There are somewhere need to be configure or... Any idea for this? Thank you
    very much!
    yang lin

    Hi Howard,
    if i use Font.createFont() to general font object that
    can solve chinese display problem in RH 7.3. but i
    thought, it's no reasonable way to use font object.
    that is really bad for cross-platform benefit or you
    need to carry font file with your application.
    have a way to set default font use createFont()
    object?In the past, I've carried the font file around with me. Given the number of graphics files, properties files and
    other assorted garbage that apps are already carrying around, it's not too unreasonable to have to add a
    TrueType font to the list of hangers-on (unless it's the size of Arial Unicode MS - 23Mb is a big ask sometimes)!
    Given that TrueType fonts themselves are essentially platform-independent, I don't see it as too much of an issue. But that's just me and my experiences! ;-)
    To set the font as default...
    try {
        FileInputStream fis = new FileInputStream("myFont.ttf");
        Font defaultFont = Font.createFont(Font.TRUETYPE_FONT, fis);
        setFont(defaultFont);
    } catch (FontFormatException ffe) {
        System.err.println("My TrueType font is corrupted.");
    } catch (IOException ioe) {
        System.err.println("My I/O stuffed up.");
    }There are various ways to set the font in even better ways, particularly if you're in a standalone app, but the above is at least a good basic one.
    Hope that helps,
    Martin Hughes

  • Can't display *proper* Chinese char in v3.0.04 connecting to MySQL

    Hello to all guru,
    I am having some trouble on displaying Chinese characters on SQLDeveloper connecting MySQL database...
    Database: MySQL 5.5.17, for Win32 (x86)
    SQLDeveloper: 3.0.04
    JDBC: Connector/J 5.1.18 from MySQL
    Connection has no problem, retrieving data also great.
    Using mysql.exe at Windows Command Prompt, it could display the proper Chinese characters perfectly...
    mysql> SHOW VARIABLES LIKE 'character_set_system';
    -----------------------------+
    | Variable_name | Value |
    -----------------------------+
    | character_set_system | utf8 |
    -----------------------------+
    1 row in set (0.09 sec)
    mysql> select display_name, display_name_chi
    -> from contact
    -> where display_name = 'David Chan';
    --------------------------------+
    | display_name | display_name_chi |
    --------------------------------+
    | David Chan | 陳大衛 |
    --------------------------------+
    1 row in set (0.00 sec)
    Run the same select query on SQLDeveloper, it shows...
    display_name     display_name_chi
    David Chan     ³¯¤j½Ã
    On SQLDeveloper, Tools > Preferences > Database > NLS, there seems to have some NLS settings to play with, and default settings are:
    Language: AMERICAN
    Territory: AMERICA
    Tried changing to the followings...
    Language: TRADITIONAL CHINESE
    Territory: TAIWAN
    Still displaying the monster characters... I haven't tested to see if SQLDeveloper would behave the same while connecting to Oracle Database, and I am thinking maybe just the Java GUI's issue?!
    Can anyone give me some idea?

    Hi,
    Here is a post that provides a solution for a similar Chinese language situation related to the Oracle JDBC driver:
    Re: Can't select using special characters (symbols)
    Perhaps you will be able to find something equivalent for the MySQL driver.
    Regards,
    Gary
    SQL Developer Team

  • Can not dislplay Chinese correctly for sybase db, but correct display Chinese for Oracle db.

    i using sqldeveloper to connect sybase ase 12.5 server and stored Chinese. but when i query out the data , it can not dislplay Chinese correctly, even i using sybase jdbc driver or jtds jdbc driver both error.
    so how to setup sqldeveloper to support Chines for sybase database server.

    Hi Aman,
    I am using Windows 2003 Server on Microsoft Virtual Server.
    I am trying to take RMAN backup from EM. I changed 'system' and 'sys' user passwords in EM after login in as system as normal user. But even then can not connect.
    Also changed 'sys' user password in command ..now aI could login to EM as sys - SYSDBA but while scheduling back up it says
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - Connection to host as user dmadmin failed: ERROR: Wrong password for user
    Regards,
    Ranjith John

  • Can not view Chinese [lang pack installed]

    I have a strange problem with following PDF which is generated by TCPDF.
    I have tried with both Acrobat Reader 9 / X, installed all the language pack I can find. Also installed the 2 fonts specified in the PDF file.
    It can be viewed in Google Doc. Other people can view it with no problem on their PC. However, it only shows a blank layout in my PC (picture below)
    You can download the original file here: (try save to your pc instead of view online)
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9Li-9QY85kaNjYzOTBmN2M tNTI1Zi00YjlmLTgzMzItOWE5MjFjMjM5NTAw&hl=zh_TW
    My OS is WIN7 Ultimate 64 Bit version, stuck for almost a week for me. In the beginning I thought it's the PDF generator's problem but become frustrated after know others and Google can see those Chinese.
    SOME FINDINGS: when choose save to TXT file, wow all the Chinese contents can be saved! but just can not be shown in reader.

    You can download by choosing "File" -> "Download Original File" in Google Doc. Anyway I attach it now.
    https://acrobat.com/app.html#d=tsdG33*6unYtb7IvzO375Q
    It's can be viewed in Online Adobe Reader. It ask me to download "simplified Chinese" font pack the first time I open it on my PC, but still not showing Chinese after installation.
    Can you try open it on your pc? Thanks so much!

  • Storing chinese in client odb from java application

    Hi all,
    first i like to thank Greg Rekounas for his wonderful support and contribution....
    This is my server setup.
    os-windows 2000 sp4
    db-oracle 9ir2 (unicode with AL32UTF8 charset)
    lite-oracle10g r2 (with latest patchset)
    nls_lang- AMERICAN_AMERICA.AL32UTF8
    storing and retriving chinese in oracle 9i database from isql*plus works.
    lite configuration.
    1. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
    \mobileserver\setup\common\webtogo\webtogo.ora file edited the JAVA_OPTION
    to:
    JAVA_OPTION=-Djava.compiler=NONE -Dfile.encoding=UTF8
    2. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
    \mobileserver\setup\dmc\common\win32.inf file, added the following:
    a. In the <file> section, added the following:
    <item>
    <src>/common/win32/olilUTF8.dll</src>
    <des>$APP_DIR$\bin\olilUTF8.dll</des>
    </item>
    b. In the <ini> section, added the following:
    <item name='POLITE.INI' section='All Databases'>
    <item name="DB_CHAR_ENCODING">UTF8</item>
    </item>
    <item name='POLITE.INI' section='SYNC'>
    <item name="DB_ENCODING">UTF8</item>
    </item>
    published the application developed in java using packaging wizard.
    downloaded the client in the pc with the following config:
    windows 2000 (english)
    nls - default.
    installed chinese language support.
    tried to access 9i database from isql*plus and stored & viewed chinese characters sucessfully.
    tried to store a chinese character from java application in the client odb -- failed.
    values are getting inserted from the application but when i view them back it shows & # 2 6 0 8 5 ; (i have included a space in between all 8 characters.
    but when i copy this no and paste in msword it shows 日(chinese character)
    i dont know the exact reason for the above scenerio...................
    Also please help me on this too.......
    why can i store & view chinese characters sucessfully in isql*plus from the client machine while i cannot do the same on client odb from java application even though the lite config are done to support utf8?
    is anything i left out?
    should i do any codes changes in java?(java application is of verision jdk1.4_13)
    Thanks,
    Ashok kumar.G

    Sorry for late replay!! in the SharePoint server both the Claim based and Classic mode is enabled in the server, but still I want to get authenticated via Classic mode just like it happens in SharePoint  2007 and 2010, so do i have to use a different
    set of classes to do that if yes can you please tell me those ?

  • Can not read Chinese data when DB Connect to SQL server 2000

    Hi,
       Our BW server( BW3.5 not unicode ) is installed on MS SQL server 2000. We try to connect the BW SQL server with db connect function. We create some test views in the Northwind DB. We are be able to access data from source system in rsa1 by db connect. The problem is that all the Chinese characters are displayed as ?????. Is there any special setting for accessing multibyte characters in MS SQL server 2000? Please advise.
    Thank you,
    Jeff

    The field of VIEW in the sqlserver which code is chinese must be the nvarchar.
    You can try it.

  • How to configure my Firefox thus allowing me to input Chinese characters into the search box by using PenPower writing pad while this problem doesn't exist when I am using Internet Explorer?

    I am using the electronic writing pad made by PENPOWER Inc. to input Chinese characters onto my PC programs (e.g. Winword, Internet Explorer, Excel, etc.) But I can not make it happened on Firefox, please advice what I have to do with the configuration of the Firefox or using any other method to make it work. Thanking you guys in advance for helping me to solve this problem.

    cor-el,
    Thank you very much for your advice. The new software of Penpower works rightaway after I installed it on my pc. Thanks again.
    十分感激你的幫忙!

  • Difference between sy-datm and sysdate in a variant of a report

    hi,
    I am working on a report which fills the database and i had assigned variant called SYSDATE -1 bcoz it will update the database table for all the plants for the previous date. can anybody guide me that whether i should use the variable SYSDATE- 1 or the sy-datum-1 ,so that uploading the data can be performed.

    These are few options you may try
    1. Create a wrapper program which will first modify date in variant and save it again. FM RS_VARIANT_CONTENTS, RS_CHANGE_CREATED_VARIANT and
    RS_CREATE_VARIANT, RS_VARIANT_DELETE will be useful.
    Submit program with this changed variant.
    2. Same as above except variant change program can be scheduled and dependent step can be created to run from that variant.
    3. While saving the variant you may assign "Selection Variable". This will fetch data from table TVARVC. You will need to periodically update value of your date field in this table.
    Regards,
    Mohaiyuddin

  • Arabic and Chinese characters are showing ??? in PDF

    Hi
    I hava an application which calls BI publisher API to generate PDF file from rtf temlate and xml input. It is fine for English contents. But the Arabic or Chinese characters are showing ??? in PDF. If I use BI publisher Desktop to load the xml and generate pdf file, it shows correct Arabic/Chinese Characters in PDF. I also copied ALBANWTJ.ttf file to my application JAVA_HOME/jre/lib/fonts/ folder. But it still doesn't work. Anyone can help me with this?
    Thanks a lot!

    I created xdo.cfg and put it in my JAVA_HOME/jre/lib/ folder. the file is configured as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="system-temp-dir">/tmp</property>
    </properties>
    <fonts>
    <font family="Default" style="normal" weight="normal">
    <truetype path="/fonts/ALBANWTJ.ttf"/>
    </font>
    </fonts>
    </config>
    But now I'm getting this error while generating pdf file:
    Adobe Reader could not open 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    Is there anything wrong in my xdo.cfg?
    Thanks!

Maybe you are looking for

  • Header Fields Layout- Hierarchy of Fields is not proper in Order Proposal

    I have used the BADI  /FRE/IF_EX_UI_RWB_BADI_004~GET_OPTIONAL_HEADER_FIELDS to set the visibility and hierarchy of fields . Currently the layout I am getting is as follows 1 2 3 4 The desired layout is as follows 1  2 3  4

  • [iPhone4 4.2.1] Video audio no longer plays when put to sleep

    I have a video of a concert on my iPhone 4. Before the update, I was able to play it, put the phone in sleep mode and listen to the audio only. Now, whenever I try to do it, the audio just stops. Is there any way to fix this? I liked being able to po

  • Play multiple flash animation

    Hi, i would like to randomly play multiple swf files one after one, like slideshow of swf files here is what i want: - load multiple external swf file from a main swf. - a swf play and when is finish the next one play, i mean the next one have to wai

  • ArrayList   Vs LInked List    Vs   Vector

    Which is one is faster -ArrayList ,LInked List ,Vector Thank you

  • Terracotta: application deploy problem (WLP 9.2)

    hi, when i try to deploy a Portal application on a bea weblogic server (9.2.1), that is enabled for terracotta (added the java startup arguments to the bea server and the client is visible in the Terracotta Administrator Console), the deployment fail