Date format in Query Result Window

In recent versions on OSD (trying with V3.2.20.09 Build MAIN-09.87) I've been unable to change the date format for results shown in the query results window via the NLS settings in Preferences, it's the same for other users on v3 in my area. Can anyone advice on whether anything can be done to resolve this issue or is there a bug in recent additions of OSD
Frustrating having a result show as 01-DEC-12 and I don't know whether it's 01-DEC-2012 or our default date of 01-DEC-4712 without having to hard code a to_char in my sql which I don't want to be doing all the time to analyse my results
I have an old version 1.5.4 Build MAIN-5940 and changing the NLS settings in preferences refrects correctly in the query results window
Any advice appreciated, Thanks

Thanks, looks like it's permission, tried on a different database supposed to be the same and it works when I update the preferences or run the alter session statement. Call to my admins to get on the case
Ta
for anyone else having simular issues, help are the statements I've tried to confirm it's permissions
alter session set NLS_DATE_FORMAT = 'DD-MON-RR HH24:MI:SS'; -- Original
alter session set NLS_DATE_FORMAT = 'DD-MON-RRRR HH24:MI:SS';
commit;
SELECT *
FROM nls_session_parameters
Edited by: lakeuk on 14-Nov-2012 06:37

Similar Messages

  • Date format in query results

    HI, newbie to sql and Oracle. Quick question, my associate and I view date and timestamps in the same column in our db tables. We can run a query requesting date and time returned in sqlplus and it displays the date then the time. However, running the same query in sql developer worksheet window the results return only the date. We believe this is a formatting issue in sql developer. We check Tools > Prefs > Database > NLS Parameters under Timestamp format and it shows "DD-MON-RR HH.MI.SSXFF AM". We are not sure this is right but we are not sure we are looking in the right area as well. Any assistance with this is greatly appreciated.
    thx
    tc

    Never mind. Found it. Had to copy from that field in to the one above it to get the view needed.

  • Date Format in Visual Studio Query Result Window

    Most vendor tools let you change the date format to show datetime in its query results window.
    But .NET does not have this.
    The ability to change this should be in located in Tools|Options but its not there.
    Can it be added in the next release?
    ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-RR HH:MI:SS' does not work. btw.
    .NET and/or ODT over-rides it.

    Why would you expect Microsoft to write stuff for an Oracle plugin?! Why on earth would you want to see anything other than the actual raw data that YOU requested in the results of a query? Surely formating/displaying a datetime is a presentation layer thing not a database layer thing! If you're really that bothered re-write your SQL till you get what you want.

  • How to view complete date stamp in query result view in sql developer?

    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    Vineet

    864793 wrote:
    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    VineetAlternatively you can execute below
    set nls_date_format='DD-MM-YYYY HH24:MI:SS';Regards,
    Achyut K

  • Hiding SQL statement in Query Result Window

    Hi everyone,
    Is it possible to hide the SQL statement from a query result window? This can usually be done by click the orange triangle that is positioned to the left of the SQL string box (to expand and collapse it). The System Queries have this box collapsed per default, is it possible to have this setup as default for all queries, including the custom? If so, please let me know where this can be done.
    Cheers

    You should do this only with SDK programming - dont allow to show the syntax. The next, but problematic way, is the code you have do inside stored procedure and call only this sp inside the query generator window - if you have there some input parameters, you should use filling variables before executing sp and get it as input parameters to sp.

  • Change date format in query

    Hi gurus
    I need to execute a query with date in International format (AAAAMMDD). In SU01 this format doesn't exist. The solution of change PC parameters before execution is not simple because queries are executed in background and broadcasted.
    Is there a way to change the format of the date in workbook?
    Thanks

    Hi,
    The Screen display for the Bex Analyzer is closely linked to the default date settings on the PC. These settings can be changed by the user to match the settings you desire. In Windows XP this setting can be changed by selecting:Start ->Settings -> Control Panel ->Regional & Language Options In this window select the customize button which will open a new window In the new window select the date tab, Go to the short date format field There will not be a standard with the option you desire you will need to enter the format manually. Select the apply button and then the Okay button. This will change your default date format in Bex and in excel spreadsheets.
    Regards
    CSM Reddy

  • Date format in the Results

    Hi,
    Dates in the Query are retrieved in DD-MON-YYYY format. Is there any option to set for retrieving all dates in the desired format?

    There is currently no preference for formatting dates returned by queries. However, the dates that are returned are formatted according to the NLS_DATE_FORMAT session variable, which can be changed with the following as an example:
    alter session set nls_date_format = 'DD-Mon-YYYY HH24:MI:SS';
    If you are selecting timestamps, then you need to alter the NLS_TIMESTAMP_FORMAT, etc - see the NLS_SESSION_PARAMETERS view for the different NLS settings.

  • EA1 - Cannot Change Date Format in SQL Results

    In version 1.2, I used to go to Tools > Preferences > Database > NLS Paramters and change the date format there. The change would then be reflected in the SQL results for date columns.
    When I try to do the same thing in 1.5 EA1, the date format is always the same, DD-MON-RR, no matter what I put in the date format setting under NLS Paramters.
    Am I missing something?
    Thanks.

    Just a quick post to make sure that the bug you logged takes into account all NLS parameters :), as this does not concern only dates but also timestamp formats, decimal and group separators as well, and probably all of the NLS parameters I assume.

  • How to change date format in query

    Hi all!
    there is Date field in query (ref to 0Date) and it is in "01.2010" format. Anybody knows how to switch to "Jan 2010" format?

    HI,
    You can dispay using the excel properties. Once after the workbook run, select the column you want to change the format and cange to the format required. Save the workbook.
    From next run the date field will be displayed as the format set in workbook.
    Hope this helps,
    regards,
    anil

  • Changing Date Format in query panel default calender

    Hi All,
    when I drag the date into the Query Filter Panel in Webi and use the between operator (or any operator) the format of the date shows up as DD/MM/YYYY as default . But we want the format should show up as DD/MM/YYYY HH24:MM:SS
    As far as we know, there is no preference setting available in WebI. Could you please guide us how can we change the format?
    thx

    Hi,
    Are you using a date object or a string object for date.
    If you are using a date object then you would have the option of calendar selection when using between where you would be able to see your desired format.
    I think if this does not resolve ur issue then either by changing regional settings or by changing the User setting (i.e. if you are using a single signon for ur Database (maybe SAP system) and ur BO WebI reports then the user id settings would directly apply here and you should be able to acheive mm/dd/yyyy hh:mm:ss format.)
    I hope this helps.
    Regards,
    Kartik

  • Query results window limited to 100 rows then 150 then 200

    Great product - I love this tool and don't mind helping to find the bugs in the prereleases like this.
    When I
    SELECT * FROM MY_TABLE
    in a sql worksheet, the results window initially only displays the first 100 rows.
    I can try to scroll down, but it stops at 100 rows.
    If click on Script Output window, the fetch count goes up to 150 and if I click back into
    Results window, I can then scroll to row 150. Click back over to Script Output and come back, now I'm up to 200. As long I scroll to the bottom of the Results window and click back and forth, I can increase the size of the results window by 50 rows each time. If I want the result window to show 2000 rows this will get real tedious real quick...
    Maybe a bug in dynamically resizing the result set?

    Hi gary,
    You may have already seen one or more threads like the following on the issue of increased memory overhead for the Excel formats:
    Re: Sql Developer 3.1 - Exporting a result set in xls generates and empty file
    Basically SQL Developer uses a third-party API to read and write these Excel formats. There are distinct readers and formatters for each of the xls and xlsx forms.
    There is a newer version of the API that supports streaming of xlsx Workbooks. Basically it achieves a much lower footprint by keeping in memory only rows that are within a sliding window, while the older, non-streaming version gives access to all rows in the document. The programmer may define the size of this window. I believe the newer API version was either not available or not stable during our 3.1 development cycle. Possibly a future SQL Developer version might use it.
    Regards,
    Gary
    SQL Developer Team

  • Date Formatting in a Result Field: Crystal Reports 2008

    I'm modifying a report at runtime in c# .Net using Crystal Reports 2008.
    I'm having trouble modifying a date fields format. I have accessed the DateFieldFormat object, and modified the properties, but only the SystemDefaultType property seems to have any affect.
    If the Date format is set in the Visual Report Designer I can see the details of the format in DateFieldObject, but editing these values doesn't have any affect on the report once displayed.
    Here is a sample of the code i'm using:
    public Form1()
         InitializeComponent();
         CrystalDecisions.CrystalReports.Engine.ReportDocument reportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
         ISCDReportClientDocument reportClientDocument;
         // Load Report
         reportDocument.Load(@"C:\myReport.rpt");
         reportClientDocument = reportDocument.ReportClientDocument;
         // Access Field
         FieldObject fieldObject = (FieldObject)reportClientDocument.ReportDefinition.DetailArea.Sections[0].ReportObjects["DateField1"];
         // These work, if I want to use one of the default formats
         // fieldObject.FieldFormat.DateFormat.SystemDefaultType = CrDateSystemDefaultTypeEnum.crDateSystemDefaultTypeUseLongDate;
         // fieldObject.FieldFormat.DateFormat.SystemDefaultType = CrDateSystemDefaultTypeEnum.crDateSystemDefaultTypeUseShortDate;
         // I don't want to use one of the defaults.
         fieldObject.FieldFormat.DateFormat.SystemDefaultType = CrDateSystemDefaultTypeEnum.crDateSystemDefaultTypeNotUsingDefaults;
         // I want to change the order of the values
         fieldObject.FieldFormat.DateFormat.DateOrder = CrDateOrderEnum.crDateOrderDayMonthYear;
         // Display the report in the viewer
         crystalViewer.ReportSource = rpt.rcd.ReportSource;
    I'm assuming I'm missing something about the object model here, but I can't find any good reference to it. Can someone help me out?
    Thanks!

    Hello,
    I find using the Object Browser in .NET IDE is very useful. Or look for the Developers help file
    The API you are using is not the one to use. Try this one:
    public virtual CrystalDecisions.Shared.DayFormat DayFormat { set; get; }
        Member of CrystalDecisions.CrystalReports.Engine.DateFieldFormat
    Thank you
    Don

  • Date Formating Issue (moved from Windows to LINUX)

    Although the move shouldn't have been an issue, moved an OBIEE installation from Windows to LINUX (Windows is still up) and now have date problems with any drill down into the metrics (SC).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 01-NOV-2007 does not match the specified format. (HY000)
    SQL Issued: SELECT Dates."Year Number" saw_0, Dates."Month Number" saw_1, "Cycle Counting"."Green Goal" saw_2, "Cycle Counting"."Red Min" saw_3, "Cycle Counting"."Cum Accuracy %" saw_4 FROM "DRS Supply Chain" WHERE Dates."Start Date" IN (SELECT saw_0 FROM (SELECT cast(Dates."Start Date" as timestamp) saw_0 FROM "DRS Supply Chain" WHERE cast(Dates."Start Date" as timestamp) >= VALUEOF("6 Month Ago")) nqw_1 ) ORDER BY saw_0, saw_1
    Any Ideas?
    Thanks
    Scott

    SCOTT, I suggest checking step-by-step.
    a) check the value of the variable
    b) check the value of cast(Dates."Start Date" as timestamp)
    c) Check the results by substituting those 2 with someone else (regular integers)....
    GL

  • Date format in Query

    I checked in SQL to see that the createdate and getdate were the same format, and they are -- but obviously SAP B1 presents it in a regular format.  How do I write the query so that the two formats are the same?
    SELECT T0.[callID], T0.[subject], T0.[customer], T0.[custmrName] FROM OSCL T0 WHERE T0.[createDate] = getdate()

    Hi Carrie,
    Try this, you will be get the exact result.
    SELECT T0.callID, T0.subject, T0.customer, T0.custmrName
    FROM OSCL T0
    WHERE
    (SELECT CONVERT(VARCHAR(8), T0.CreateDate, 3)) = (SELECT CONVERT(VARCHAR(8), GETDATE(), 3))
    OR
    Try to use parameter.
    SELECT T0.callID, T0.subject, T0.customer, T0.custmrName FROM OSCL T0 WHERE T0.createDate = '[%0]'
    Regards,
    Madhan.
    Edited by: Madhan Babu C on Jan 11, 2010 12:37 PM

  • Date format in Query Extract - Urgent

    Hi,
      I'm using Query-Extract (RSCRM_BAPI) to extract query data and store it in separate location.
    While extracting the data into .csv ot .txt file, date will be displayed as yyyymm (200807). As per the requirement we should display the date in the format mmm-yyyy (Jul-2008).
    Please help me. its very urgent.
    Thanks,
    Varun

    Hi ,
    This issue can be solved by writing a routine in update rules pls take the help of abap experts to solva this
    this is not a big issue for them
    Hope i have guided u properly
    Pls assign me points my boss ??
    Regards ,
    Subash Balakrishnan

Maybe you are looking for