Discoverer date format - ignoring NLS_LANG

Hi, can't find answers to this anywhere. is there anybody out there that can help?
Admin edition: Create a new folder from database, select a table containing date columns, and finish. If you look at the properties for the date fields in the new folder the format is 'DD-MON-YYYY' regardless of what NLS_LANG is defined in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE. (set to English_France.WE8ISO8859P1 expecting dd/mm/yy).
The workaround at mo is to change the properties of each date field manually - very time consuming and prone to human error! Any suggestions?

You have to create the key NLS_DATE_FORMAT at HKEY_LOCAL_MACHINE->SOFTWARE->ORACLE
Define your date mask there.
Fabio Back
[email protected]

Similar Messages

  • Discoverer admin date format - ignoring NLS_LANG  ?

    Hi, can't find answers to this anywhere. is there anybody out there that can help?
    Admin edition: Create a new folder from database, select a table containing date columns, and finish.
    If you look at the properties for the date fields in the new folder the format mask is 'DD-MON-YYYY' regardless of what NLS_LANG is defined in the registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
    we've currently got it set to English_France.WE8ISO8859P1 expecting dd/mm/yyyy. (also tried creating an NLS_DATE_FORMAT key under the same registry path).
    The workaround at mo is to change the properties of each date field manually - very time consuming and prone to human error! Any suggestions?
    Thanks in advance.

    You have to create the key NLS_DATE_FORMAT at HKEY_LOCAL_MACHINE->SOFTWARE->ORACLE
    Define your date mask there.
    Fabio Back
    [email protected]

  • Date Format ignored after disconnect/reconnect

    I don't know if anybody else gets this, or if it has already been posted, but I didn't see anything from my quick search...
    I'm connecting to a database that is shut down for a scheduled backup. When it becomes available, I "reconnect" sql developer by reselecting the connection from the drop down box at the top of the worksheet toolbar. From that point forward, dates in query results will show up in 'dd-mon-yy', even though I have my format set to 'mm/dd/yyyy hh24:mi:ss'. It doesn't correct itself until i restart SQL developer.
    I'm using SQL Developer Version 1.5.0.52, Build MAIN-52.03 on an XP Machine with jdk1.5.0_12.

    There were issues with Preferences being saved in the early Adopter releases. Have you switched to 1.5 production yet?
    Sue

  • Date format in Discovere Reports

    We have created a workbook with a parameter which is supposed to show up an LOV for a parameter in the MON-RR format. Now this LOV shows up
    correctly in the Discoverer Desktop edition as MON-RR format, but when we view
    the same in Discoverer Viewer it shows up as DD-MON-RRRR.
    Earlier we had got a partial resolution on this issue (TAR 3891425.996), wherein by changing the ICX
    profile value in Oracle Applications, we are able to set the date mask to MON-R
    R.
    But now the above profile applies to all the reports and all the dates show up as MON-RR, whereas we want to continue showing the date in DD-MON-RRRR forma
    t in some of the reports.
    How can this be achieved ?

    HI Kishore
    Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
    1. nqsconfig date format
    its same for both the two installations
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    2. make sure that you didn't save date format in column properties from front-end
    Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
    3. Did you mention anything in connection pool settings to set date format.
    no we havan't mention anything in connection pool
    4. Make sure that you are connecting to same database, and date format set for date is same here and there
    yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
    " hw i can check this
    finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
    please let me know if you need more info
    Regards,
    Dev

  • Data format inconsistency problem on Discoverer 4i plus and Desktop 4.1

    I encountered 'data format inconsistency' problem when using
    Discoverer 4i plus web version vs Desktop version 4.1 to run the
    same report :-
    The result returned by Desktop version is as following:-
    Employee Count Percent Employee Count
    Mgt 202 18%
    Occ 891 81%
    Other 1 0%
    Percent 1094 100%
    The result returned by 4i web version is like the following:-
    Employee Count Percent Employee Count
    Mgt 202 18%
    Occ 891 81%
    Other 1 0%
    Percent 109400% 100%
    Pls note that the Employee count column is 1094 in Desktop
    version whereas in web version it's 109400%
    After I export the data to Ms Excel, I obtained below result :-
    Employee Count Percent Employee Count
    Mgt 202 0.184644
    Occ 891 0.814442
    Other 1 0.000914
    Percent 1094 1
    I would like to know if this is Oracle Discoverer bug or it's a
    known issues ?
    Pls advise.
    Thanks in advance.

    Hi Discoverer Technical Team,
    Could u pls response to that issue ?
    Thanks and regards.

  • Date format doesn't follow my International settings

    In System Preferences > International > Formats, I have set up my date format to be yyyy/mm/dd but the date format options available in Numbers don't include this. Numbers only gives the American mm/dd/yyyy option for an 8-digit date format.
    Surely this is a bug? Is there any way to set the formats in Numbers to obey System Preferences?

    Hello
    Two problems in fact.
    - 1 - from what does Numbers grab it's default date format?
    I set the International prefPanes to "Long date" with years on four digits but Numbers defaults to 1 déc.07. Here I'm afraid that this is a bug. Maybe one linked to localization.
    - 2 - Numbers offers a menu giving us the ability to change the used format but alas, the ISO format is not available. Here it's not a bug. It seems that they simply ignored this format.
    *Go to "Provide Numbers Feedback" in the "Numbers" menu* and describe what you wish.
    I already asked Apple about that because it's really surprising that the ISO format (which is the international rule) is not reachable in Numbers.
    Yvan KOENIG (from FRANCE samedi 1 décembre 2007 13:19:27)

  • Date Format in calculations

    Hi all,
    we are currently upgrading our discoverer from version 3.1.25 to version 10.2.0.1.0.
    we have an old report that had been created with the old version and saved on the computer (not in the database) with a date calculation on a date parameter as follows: <table_name>.<date_field> - :DATEPARAMETER (the date format of the two dates values is DD/MM/YYYY).
    This calculation works fine on the old discoverer version when we run it, but when we try to run the report on the new discoverer desktop version (10.2.0.1.0) we get an error that the parameter is incorrect.
    the thing is that if i convert the date format manually using the to_date function on the parameter, it works fine.
    My question is what is the default date format for the calculations, and how can i set it myself?
    i already added the NLS_DATE_FORMAT key in the registry under HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE, but it doesn't work, it changes the date format of the date fields that are presented in the table after a report execution.
    In addition, if we save the report to the database using the desktop version and try to run the report on discoverer plus, we get the same error and need to perform the same solution (convert the parameter manually with to_date).

    mac-a-rooney wrote:
    I am working with dates.
    1st I want to calculate a time span for example calculate cell A2 - cell A1. In cell A1 it is written 01.01.2010 (so first of January) and in cell A2 01.02.2010 (so first of February). I wrote the dates in letters, too, to avoid misunderstandings due to different national date formats.
    Since January has 31 days, the obvious result thereof is "31D". So far so good.
    but now I want to multiply the 31 with a numeric value, but not the 31D, because if I do so, and let's say the numeric value is 3, then my result is 93 DAYS rather than just 93.
    Are you sure you're asking in the right forum?
    Using Numbers '08, with the following entries:
    B2: Jan 1, 2010
    C2: Feb 1,2010
    D2: =C2-B2
    E2: =3*D2
    I get 31 (not 31D) in D2 and 93 (not 93 DAYS) in D2.
    From your description, I think you're actually using Numbers '09, and Jerry's advice above applies.
    Regards,
    Barry

  • Date format in SQL statements

    Hi there !
    Please, can anyone help me find out what is going on with date format in my SQL Statements ?
    While in development, the date format in SQL statements were:
    SELECT DATA_FIELD FROM TABLE WHERE DATE_COL = '10-DEC-2004'
    And works fine.
    After deploy to production server, we get ORACLE error: not a valid month
    So we change the format to
    SELECT DATA_FIELD FROM TABLE WHERE DATE_COL = '10/12/2004'
    And it gets to works again.
    Yesterday, the net administrator updated the JAVAC / JSDK run-time with Java update tool, and AGAIN we get ORACLE error: not a valid month
    So we change the format AGAIN to
    SELECT DATA_FIELD FROM TABLE WHERE DATE_COL = '10-DEZ-2004'
    And it gets to works again.
    What is going on ?
    JAVAC running on Windows2003.
    The application access the ORACLE DB directly through JDBC.
    There is no APPLICATION SERVER, like TOMCAT.
    The regedit (windows registry) ALWAYS was and are now :
    NLS_DATE_FORMAT = DD-MON-YYYY
    NLS_LANG = AMERICAN_AMERICA.WE8ISO8859P1
    Versions:
    DB Oracle 9.2.0.5.0
    JavaC 1.4.2.05
    Thanks.
    Juliano

    Somewhere, I'm willing to wager your NLS_DATE_FORMAT was/ is being changed. This is a client-side setting. Are you sure that the setting is the same on every client machine.
    This is one of the reasons that it is considered bad form to rely on implicit conversion. If you wrap your string literal in a TO_DATE, use the JDBC escape sequence {d }, or use a Date bind variable, you don't have this problem. The bind variable approach will also play much more nicely with your database's shared pool.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Date format in Oracle 10g XE

    I'm using Oracle 10g XE on Windows Vista and I'm curious as to what determines the date format.
    According to the globalization section in the Oracle installation guide the NLS_DATE format is dependent on the NLS_LANGUAGE setting. In my database the NLS_LANGUAGE is American, the NLS_TERITORY is America and all other NLS_* parameters are blank (default).
    From that I would expect the default date format to be mon-dd-yyyy.
    However when I run SELECT sysdate FROM dual the date is reported as dd/mm/yyyy and this was the default format when I used SQL Developer and when I used the command line SQL*Plus. Obviously something else is determining the date format, but what?

    Your settings are dependent on NLS_LANG on the client.
    They are derived from (assuming Windows) the regional settings of the O/S.
    This means in Western Europe the default 'American_America.WE8MSWIN1252'.
    This makes the default NLS_DATE_FORMAT dd-mm-yy.
    You can override this in the registry, or set up an after logon trigger.
    Sybrand Bakker
    Senior Oracle DBA

  • [XI 3.0]  Date Format

    Hi All,
    I have one question regarding LOV in designer. (the same problem in deski and infoview)
    Problem is with date format. When we display LOV we get data 1.1.2009 (d.m.yyyy) and we would like to have like this 01.01.2009 (dd.mm.yyyy). Data type of object is date.
    Regional settings :dd.mm.yyyy.
    Oracle: NLS_LANG => SLOVENIAN_SLOVENIA.EE8MSWIN1250
    Object formating in universe => dd.mm.yyyy
    P.S.
    The same universe works fine in 6.1.3
    Installed software:
    BOE XI 3.0 with SP1,SP2,SP3 (on tomcat)
    Oracle client 10.2
    Windows server 2003 or windows XP
    Regional settings => Slovenian
    Thank you for reply!
    Regards,
    Gregor
    Edited by: Gregor Majdic on Mar 5, 2009 9:40 AM

    Try this:
    In Designer, open the universe which has the date object.
    2. Create a new object called "new_date" with a character data type, then in the select box of this object type the following:
    to_char(EMP.HIREDATE,"DD.MM.YYYY")
    3. Open the Object properties of the original date object (for example, called "Hiredate") and replace the existing LOVs of Hiredate by new_date (Properties tab > Edit button).
    4. You can now hide the object new_date if required.
    5. Click Run > Display to view the updated list of values where the date format of the LOVs is now in the format; DD.MM.YYYY.
    Caroline

  • Date Format on OWB 11.1.0.7 to use for input parameter for a mapping

    All,
    What is the Date Format on OWB 11.1.0.7 to use for passing in an input parameter for a mapping to execute?
    I have tried '01-01-2010','01-JAN-2010','01.01.2010', 01/01/2010 and I get the following error:
    Error RPE-01003: An infrastructure condition prevented the request from completing.
    Error RPE-01038: Failed to evaluate expression declare l_expression DATE := 01/01/2010;begin :result := wb_rt_conversions.from_date(l_expression);end;. Please modify the expression, redeploy and retry again.
    RA-06550: line 1, column 32:
    PLS-00382: expression is of wrong type
    ORA-06550: line 1, column 24:
    PL/SQL: Item ignored
    ORA-06550: line 1, column 90:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 1, column 51:
    PL/SQL: Statement ignored
    I am using a Mapping Input parameter object and have a START_DATE_IN as a DATE and an END_DATE_IN as a DATE
    Any information you could provide would be greatly appreciated.
    Thanks,
    Shaun

    Hello Shaun,
    The function wb_rt_conversions.from_date is (at least in OWB10.2) overloaded and can with input-types as
    date, timestamp_unconstrained, timestamp_tz_unconstrained, timestamp_ltz_unconstrained or varchar2.
    If it doesn't work with varchar2 I would try Date:
    For example: to_date('2010-01-01','YYYY-MM-DD')
    I also found this thread:
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=608257
    Hoping this helps...
    Guenther

  • Date format Problem in forms&reports Services 10g

    Hi Dears,
    I Faced a problem during running reports ( i am using forms& Reports Services 10g), when i pass the parameters via parameter form to the report (built in forms10g Rel 2.0) its appearing in arabic like (25-يناير-2010) as my Date Formate is (DD-YYYY-MON) and NLS_LANG parameter is defined as Arabic_Saudi arabia.AR8MSWIN1256 so as a result report is not running due to unknown Date formate, how can i change the Same Date format (DD-YYYY-MON) to appear in english like (25-2010-JAN)
    Thanks

    You could specify the parameter as type VARCHAR2, explicitly cast it (maybe to DD.MM.YYYY) when you pass it from forms and cast it back in your query, like TO_DATE(:P_PARAM, 'DD.MM.YYYY')

  • System date format in reports (winnt)

    Hello All,
    I am using oracle report bulder 6.0.5.35. on winnt
    i have to show all the date fields in my report in the system format (as specified in the regional settings in control panel)
    i couldn't find a direct solution, so what i did was to create a user defined parameter and pass the system date format as a string to the report at runtime (this report is invoked from VC++, so i can pass the local setting as a string at runtime)
    after this, in BEFORE REPORT trigger i use the following code
    dbms_session.set_nls('nls_date_format',:dat);
    --where dat is the user parameter.
    shouldn't this change the date format for the current session. but this is not happening. (i have not set date formats for any date fields in report)
    i am not getting the output in format that i passed, but always i am getting in 'dd-mon-yy' format.
    can anybody please help. is there any other solution.
    thanks and regards,
    Pinto.
    null

    hello,
    the DBMS_SESSION changes the settings on the database side. as reports has it's own client-side NLS settings this does not have any influence on the output.
    the client-side settings are defined by the NLS_LANG settings in the registry on the client.
    regards,
    the oracle reports team

  • Incorrect date format in excel reports

    Hi,
    Some Activity exported from Activity overview to excel have wrong date format. For example
    Some have 21/04/2008 u2013 Correct
    Some have 13/04/09 u2013 Incorrect
    All the dateu2019s in the database seems to be correct like '2008-04-13 00:00:00.000'.
    Client is using SAP B1 2005 SP01 PL-48. Is there any know issue?
    I tried the same in B1 2007 upgrading the database. All the date seems to be correct when I export it here.
    What may be the reason?
    Any suggestions will be appreciated.
    Regards,
    Mohan

    Hi Gordon,
    It took some time for me to verify in the client machine.
    I have changed the date format in both Business One and in the regional settings to DD/MM/YY. It seems to be ok however the appearances of date column in excel seems to be uneven.
    04/10/09
    04/11/09
           13/04/09
           14/04/09
           19/04/09
    (Ignore the *)
    I think, the problematic dates seem to be exported to excel in the paste special text format.
    Any Idea why this is happening?
    Regards,
    Mohan
    Edited by: Mohanakrishnan T on May 5, 2009 1:09 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:10 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM

  • Date Format in Excel reports

    Hi Experts,
    Is there anyway I could print the current date in the YYYY/MM/DD format in the excel report. The format works in a pdf format but in excel the date gets auto converted into MM/DD/YY format. The format-date doesnt work. Please help.
    Thanks,
    Swarna

    Hi Gordon,
    It took some time for me to verify in the client machine.
    I have changed the date format in both Business One and in the regional settings to DD/MM/YY. It seems to be ok however the appearances of date column in excel seems to be uneven.
    04/10/09
    04/11/09
           13/04/09
           14/04/09
           19/04/09
    (Ignore the *)
    I think, the problematic dates seem to be exported to excel in the paste special text format.
    Any Idea why this is happening?
    Regards,
    Mohan
    Edited by: Mohanakrishnan T on May 5, 2009 1:09 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:10 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM

Maybe you are looking for

  • How to make a template from an existing document on my ipad Air 2 using word

    I want to know if it's possible to make make a template from an existing document on my ipad Air 2 using the free microsoft word app. Thank you

  • Download issues with LR

    Hi PLEASE READ my initial queries with this problem.  It seems as though the techs are not taking care in the answers by reading my previous correspondence. 1. I am a subscriber to creative cloud. 2. I have downloaded Creative cloud and have the app

  • NTSC and PAL Menu Workflow

    Hi All, I am authoring a DVD and have a need for four menus - PAL 4:3, PAL 16:9, NTSC 4:3, and NTSC 16:9. Does anybody have a good workflow for creating the menus in Photoshop? I'd like all menus to look as close as possible to each other but still h

  • What makes YOU a good programmer?

    Just curious as to what sort of strengths my fellow programmers in particular what one thing do you think gives you an advantage over most people? I like to think I have a good memory, I can just look at a class diagram of a program I wrote two years

  • Socket bug ?

    I've programmed a http-chat-server in java and sometimes it hangs itself up when writing to a socket. I checked with jdb: (JDK 1.4.0_01 on linux) thread x where[1] java.net.SocketOutputStream.socketWrite0 (native method) [2] java.net.SocketOutputStre