Export of DATE column not recognized by Excel

SQL DEVELOPER version 2.1.1.64
just installed.
When I export a table to Desktop as XLS or CSV, all the DATE columns show this format:
11-MAY-09 12.00.00.000000000 AM
MicroSoft Excel will not convert this to standard format: MM/DD/YYYY
I changed NLS setting in SQL DEVELOPER for Date and TimeStamp, Excel still does not convert.
Any suggestions?

(1)
export from the context menu on the table's navigator tree node
(2)
export from worksheet result set
(3)
export from table Data tab
All three exports work.
Each DATE column in the export file shows the TIMESTAMP value.
Unfortunately, after the export, when I apply the DATE format inside of Excel using "Format Cells",
the data in the Excel column does not change to MM/DD/YYYY
WHY DOES APPLYING FORMAT INSIDE EXCEL FAIL?
THIS IS MY QUESTION.
(4)
copy the result set from SQL*Developer (CTRL-A, then CTRL-C or CTRL-SHIFT-C) and paste in Excel.
The DATE column shows value in MM/DD/YYYY format and I can change the format.
This works but not for large amounts of data.

Similar Messages

  • Intermittent : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.

    I have developed a batch harness whereby all scheduled tasks (W2012) invoke a common powershell script that acts as a wrapper to all our housekeeping jobs.
    The first step in the wrapper is to create a Transcript file using following code
    if ($Host.name -ne "Windows PowerShell ISE Host") # Transcript does not work within ISE
    $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
    $path = "c:\corp\$timestamp" + "_$pid.txt"
    Start-Transcript -path $path -append
    As expected the folder contains files with timestamp & pid in name
    08/08/2013  11:00 AM            14,388 2013-08-08-11-00-01.158_1620.txt
    08/08/2013  11:00 AM            12,506 2013-08-08-11-00-01.485_936.txt
    08/08/2013  11:00 AM            12,994 2013-08-08-11-00-01.735_9328.txt
    08/08/2013  11:00 AM            12,024 2013-08-08-11-00-01.766_8624.txt
    08/08/2013  11:00 AM            13,902 2013-08-08-11-00-01.860_1756.txt
    08/08/2013  11:01 AM            15,142 2013-08-08-11-01-31.392_10120.txt
    08/08/2013  05:00 AM            14,982 _1692.txt
    However note the last file, it has a zero length date time value in the name
    The error recorded by PowerShell is
    get-date : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At C:\Corp\Powershell\DMPRun-ScheduledTask.ps1:171 char:18
    +    $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
    +                  ~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-date:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    IE get-date has failed and returned a zero length field as the timestamp
    Can anyone think of a good reason why get-date would fail intermittently?
    Do I have to code defensively for base Powershell functions?

    I implemented David's suggestion and now I intermittently get
    import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    At D:\temp\loop_jc2_2013_11_25_08_55_02.ps1:15 char:1
    + import-module Microsoft.Powershell.Utility
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Import-Module], UnauthorizedA
       ccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
       erShell.Commands.ImportModuleCommand
    I added a trap chain (My Powershell skills do not yet include recursive trap coding, any suggestions welcome)
    trap {
        trap {
            "Trap1"
            "Exception: " + $_
            "Error: " + $Error[0]
            "Message: " + $_.Exception.Message
            "InnerException: " + $_.Exception.InnerException
            "StackTrace: " + $_.Exception.StackTrace
            "FailedItem: " + $_.Exception.ItemName
            import-module Microsoft.Powershell.Management
            import-module Microsoft.Powershell.Security
            import-module Microsoft.Powershell.Utility
        "Trap2"
        "Exception: " + $_
        "Error: " + $Error[0]
        "Message: " + $_.Exception.Message
        "InnerException: " + $_.Exception.InnerException
        "StackTrace: " + $_.Exception.StackTrace
        "FailedItem: " + $_.Exception.ItemName
        import-module Microsoft.Powershell.Management
        import-module Microsoft.Powershell.Security
        import-module Microsoft.Powershell.Utility
    import-module Microsoft.Powershell.Management
    import-module Microsoft.Powershell.Security
    import-module Microsoft.Powershell.Utility
    trap {
        "Trap3"
        "Exception: " + $_
        "Error: " + $Error[0]
        "Message: " + $_.Exception.Message
        "InnerException: " + $_.Exception.InnerException
        "StackTrace: " + $_.Exception.StackTrace
        "FailedItem: " + $_.Exception.ItemName
        exit 1
    get-date
    Now I intermittently get ..
    Trap2
    Exception: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    Error: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    Message: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    InnerException:
    StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
       at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
       at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew)
       at System.Management.Automation.AnalysisCache.CacheExportedCommands(PSModuleInfo module, Boolean force, ExecutionContext context)
       at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(PSModuleInfo parentModule, Boolean found, IEnumerable`1 modulePath, String name, SessionState ss, ImportModuleOptions options, ManifestProcessingFlags manifestProcessingFlags,
    PSModuleInfo& module)
       at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions importModuleOptions, String name)
       at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
       at System.Management.Automation.CommandProcessor.ProcessRecord()
    FailedItem:
    import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
    At D:\temp\loop_jc2_2013_11_25_09_19_52.ps1:26 char:1
    + import-module Microsoft.Powershell.Security
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Import-Module], UnauthorizedA
       ccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
       erShell.Commands.ImportModuleCommand

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • Date format not recognized -- urgent help needed

    Hi,
    I'm having a problem when start sqlplus in dos command window. If I start it from C:\oracle\ora81\bin, it won't started and error message showing like 'Date format not recognized' and then come back to DOS.
    I do have OWB installed which also has SQLPLUS installed so that there is no problem if I start it from C:\ORACLE\owb92\bin.
    For some reason, the path is setting as C:\oracle\ora81\bin before C:\ORACLE\owb92\bin so the default always goes to 81 folder.
    If restart the DB instance, and this problem is gone. But it comes back after some application running (our own application and Oracle provided OMBPlus ). We double check our own application, and there is no where to "alter session ...".
    Any help will be very appreciatged,
    Thanks,
    Daming

    I'm having a problem when start sqlplus in dos command window. If I start it from C:\oracle\ora81\bin, it won't started and error message showing like 'Date format not recognized' and then come back to DOS.
    Do you have a file called 'login.sql' in the folder 'C:\oracle\ora81\bin'? If there is one, is there an 'alter session' command in this file?

  • How to export the data to Multiple sheet in Excel

    Hi,
    How can I export the data to multiple sheets in excel using Crystal Report XI.
    Thanks,
    Baski.
    Edited by: J_Baskaar on Mar 31, 2010 8:14 AM

    One of the 3rd-party Crystal report schedulers listed at http://www.kenhamady.com/bookmarks.html allows you to burst a report so that each group at level 1 becomes a separate worksheet inside a single workbook.

  • Export the data of a chart to Excel format

    I developed Histogram and Bar diagram in java Graphics2D pkg. I want to export the data of the chart in Excel format so that the file can be opened in Excel tool.

    Is this something that might help....
    <!-- Loop through the range to create a poplist -->
    <%
    java.util.ArrayList alDepartments = new java.util.ArrayList();
    %>
    <select name="DepartmentId">
    <c:forEach var="listEntry" items="${bindings.DepartmentsListView1.rangeSet}">
    <c:set var="thisdept" value="${listEntry.DepartmentId}"/>
    <%
    //<c:out value='${listEntry.DepartmentId}'/>
    String strThisDept = ((Number) pageContext.getAttribute("thisdept")).toString();
    System.out.println( strThisDept );
    alDepartments.add( strThisDept );
    %>
    <c:choose>
    <c:when test="${listEntry.DepartmentId eq bindings['DepartmentId'].attributeValue}">
    <option value="<c:out value='${listEntry.DepartmentId}'/>" selected="true">
    <c:out value="${listEntry.DepartmentName}"/>
    </option>
    </c:when>
    <c:otherwise>
    <option value="<c:out value='${listEntry.DepartmentId}'/>">
    <c:out value="${listEntry.DepartmentName}"/>
    </option>
    </c:otherwise>
    </c:choose>
    </c:forEach>
    <%
    session.setAttribute("sessionalDepartments", alDepartments );
    %>
    </select>

  • Date Column not getting sorted in a table in web Dynpro Java

    Hi All,
    I am facing an issue while sorting the date column in a table in my web dynpro java application.
    When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
    Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
    Thanks & Regards,
    Anurag

    Hi,
    You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
    As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
    In your table, add a new column and bind to this new attribute, and hide your original date column
    If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
    Cheers,
    Robin

  • ORA-01821: date format not recognized Error in PL/SQL report-4.0

    Hi,
    I am using Apex 4.0 and i have a Classic report(function returning query) which selects a date column.
    The query runs at the backend and gives the output.
    But when i run the report on the page, i get the error
    report error:
    ORA-20001: Error fetching column value: ORA-01821: date format not recognizedThe values for the date column are like this 14-MAR-13,01-FEB-13 etc... Everything seems to be right.
    But I have no idea why this error occurs.
    Thanks
    Divya

    Aren't these errors annoying! But there's a data / format mismatch for sure. What I need to see -- and what will tell you what is wrong -- is
    1) exactly what the data is and
    2) exactly what the format string is that is being used to convert it.
    The values for the date column are like this 14-MAR-13,01-FEB-13 etc... Question: Is this the source data or the target data ( what it's supposed to look like after being converted)?
    Let's start there:
    What is the source? Is it a DB column? Is it type date or VARCHAR2 or what?
    If VARCHAR2, then give us an example of the data that is failing.
    What is the format -- I assume there is one -- being used to convert the data?
    Are you doing a TO_CHAR or a TO_DATE?
    Give us lots of detail, please. Then it should be easy to solve.
    Regards,
    Howard

  • Exporting filterded data from a view to excel

    I have a requirement, where i have to export data from a list to excel after applying some filter to it.
    Say i filter the view by selecting employee dept="Teaching", now i want to export only the filtered rows to excel.
    Is there any way to achieve this.
    Thanks in advance.

    Hi,
    You can create a view with required filters. Then you can export to excel after switching on to filtered view.Refer following link to create filtered view.
    http://office.microsoft.com/en-in/sharepoint-workspace-help/create-view-filters-in-a-lists-tool-design-in-sharepoint-workspace-2010-HA010336352.aspx
    Hope it helps!
    Avni Bhatt

  • Data column number formatting in Excel

    Can I overwrite the formating for the data columns in excel?
    For calculation purposes I need 2 decimal places defined for the data columns but when I display I dont want to see the decimals, I want to see the rounded number. But I cannot format this on the excel. Any suggestions?
    Thanks!
    Hema

    Hi,
    In the definition of your planquery, go to the properties of your key figure and assign the number of desired figures behind the comma.
    -> in your workbook if you click on your cell, you will see the number of figures behind the comma according to your info-object in the formula bar, but in the layout itself it is rounded according to your query settings
    D

  • Data set created out of csv file: columns not recognized, too many rows

    After uploading a csv file I got out of the OPP the columns don't get recognized in the dataset viewer. Perhaps this happens because the delimiter is a semicolon instead of a comma? Unfortunately, I have no influence how the data gets exported out of the OPP. Is there any option to configure which delimiter to recognize, like it's possible in excel?
    Further, is it possible to configure from which row on the data should be taken into account, similar to excel? With the csv file I get out of the OPP, the data only starts with row 7, while row 6 has the headings.

    After uploading a csv file I got out of the OPP the columns don't get recognized in the dataset viewer. Perhaps this happens because the delimiter is a semicolon instead of a comma? Unfortunately, I have no influence how the data gets exported out of the OPP. Is there any option to configure which delimiter to recognize, like it's possible in excel?
    The delimiter cannot be configured. Comma is the delimiter. I would suggest that you open this file in text editor then replace semicolon with comma. After that you can reupload your dataset.
    Further, is it possible to configure from which row on the data should be taken into account, similar to excel? With the csv file I get out of the OPP, the data only starts with row 7, while row 6 has the headings.
    This is not configurable as well.

  • Trying to Export the data from a webform into excel and unable do

    when i try to export the dataform from the Planning web into excel, iam unable to export it iam able to export the member name but not the data values associated to it.
    When i try to do the same by using the Mozilla, it works perfectly, iam unable to do it IE 6.
    waiting for the Valuable Suggestions on this issue.
    Regards.

    pls advise me on this issue.

  • Data dvd not recognized

    Hi
    Wonder if anyone can help...
    I have recently had a show-reel put together and they have sent me a copy on a data dvd with AVI and MOV files on it. This is so I can burn it and upload it to websites etc.
    When I load the disk it doesn't seem to be recognized. There is no icon on the desk top but The iDVD application does automatically open up though, however I can't find the files anywhere.
    I have looked in disk utilities and the disk is listed but it wont let me verify it.
    Does anyone have any ideas about why this might be and what I can do it about it.
    I want to try and burn a couple of copies so any help would be great.
    Thanks

    Thanks for confirming that Import is correct.
    When you say the Capture Scratch folders only hold captured material, does that include Imported material? And if so, when I look in the Capture Scratch folder and see not QT files (as I have seen in the handful of previous projects I have attempted) but small "FCE document files" then I do have some kind of problem, right? I'm just trying to figure out where to start in understanding this, and it seemed to me the external hard drive source was the new variable here; that maybe there was something I had missed in terms of what was required when using the XHD as a source instead of my own camera capture. If that is not the case-- that is, if a QT file is the same whether brought to the system through Capture or found on an HD and imported-- then I have to figure out what I did to screw up the Capture Scratch function. I have not done any render effects. I'm just setting up. I've not done much of this and none at all recently, so operator error is certainly possible. I'll reproduce the export and see if I can refine the settings. Thanks for your patience and thoughtful assistance.

  • Lightroom 4.1 exported JPEG files are not recognized by Apple Preview App

    I just started using Lightroom 4.1 Trial version (coming from Aperture). I exported JPEG versions of some images using an ICC profile. On my iMac running Lion 10.7.5 the pictures do not show a thumbnail, the file on the desktop just shows "JPEG". I could not open the file with the Preview App, but I am able to open it with DPP (Canon software)? Also the file shows that it has 0 x 0 dimentions when I click Get Info even though it is about 25 Megs in size?
    The message I get is
    "The file “Edit-739820120223Canon EOS 7D.jpg” could not be opened.
    It may be damaged or use a file format that Preview doesn’t recognize."
    Does anyone know why this is hapening?
    Is it a know issue between Adobe and Apple?
    Is there a fix for this?
    Thanks for help in advance.

    25MB is quite a large filesize for a JPG, and this might be either quite a lot of pixels saved at a very "high" quality (not very much compressed), or it may be an extremely large number of pixels saved with medium compression.
    While the technical spec of the JPG format imposes an absolute limit on maximum width and height pixel dimensions, some software employs a lower limit above which it considers the file to be invalid. Different programs, different limits, sometimes.
    I have encountered this (for example) with pano stitched images using the full resolution of a large number of component shots - where JPG output could not be made, or if made, could not even be viewed as a whole by my standard image viewer (though TIFF was still OK even at still larger sizes).
    If Lightroom has been set to a large printed size AND to a high ppi resolution, it is easy to get into very high numbers and very large output files. One should IMO at least question the utility and benefit of using very high ratios of upsampling from a standard digital photo - which may happen in some cases as a result of using the same output settings regardless, when spreading the same data across both small and large scales. If the file that was imported into LR really does provide an unusually high number of pixels expressing lots of detail, then that will better deserve such a capacious output file. Otherwise, each part of the file may merely show a very highly detailed representation, of a very blurry nothing-much-in-particular.
    If the JPG has exceeded the viewer's size limits, a reported width and height of 0 may represent an error message, in effect - not actual reality.
    regards, RP

  • Shock, date change, not recognizing components...

    Hi all-
    Scanned through the topics and didn't find one similar; I'd be grateful for any suggestions as to the cause of my troubles.
    I put my ibook G4 to sleep this afternoon, and when I returned to work on it again, I got an electrical shock when I opened the screen.
    The machine had shut itself off; when I turned it on, I got a message that the date had been changed to Dec. 13, 1969. Minutes later it stopped recognizing some of it's components (like it's airport card, for instance).
    Is this thing fried? A friend had something similar happen, and within hours had nothing but the "sad mac" face with the question mark above its head on her screen. :/

    Could be. The ibook should not shock you, I'd take it in for a checkup.

Maybe you are looking for

  • How can I connect my ipod to a new computer without deleting all my music

    I just got a brand new laptop and when I connected my ipod and iphone 4 it prompts to syns a delete everything.  How can I avoid that.  I tried using the manual setting, but once I press apply it asks again to sync and delete all my music. Is there a

  • Help for with slow, glitchy (late 2012) iMac

    This is an ANSWER and not a request for help.  I didn't know where to post this and apologize for stepping where I shouldn't.  I have a Late 2012 iMac that has been crashing, running slow, and now worse;  all my documents and everything in Finder hav

  • I just downloaded the most recent version of itunes and I bout songs and they wont play all the way

    When I went to play the songs it gets 40-50 seconds into it the abrubtly stops and switches to the next song. If its any help it was the "Get scraped" album by deadmau5

  • BO Publication/Scheduling bounced email trace

    Hi I am trying to create a publication in BusinessObjects 3.1 that sends emails to recipients, it is required that if in case email address is invalid (does not exist etc), we should be able to tell which recipients emails were not received. When I t

  • Examine Account Index Error

    Hi, I have some resources with names ending with a pair of parentheses. e.g. ABC (India), XYZ (USA) When I click on Examine Account Index in the resource tab (admin interface), it gives me this error message - An Error Occurred: 'com.waveset.util.Wav