ORA-01843: not a valid month . Receive this error when running report in reporting services but not when running query in BIDS

sql server 2008 r2
RS2008 r2
I can execute the query in BIDS 2008 with out a problem and I can run on our RS2005 server without a problem
But when I deploy report and run on our RS2008 server I get the error
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'NIR'. (rsErrorExecutingCommand)
ORA-01843: not a valid month 
QUERY:
select * from NIR_QUARTERLY where birth_date between :PARAM1 and :PARAM2
order by PT_CODE

CAUSE
The problem is caused by not using VALID dates values in the dataset.
- This data problem was masked in the original version as the Predicate(s) used can change between versions of Oracle
- Oracle does *not* guarantee the same explain plan or the specific order of predicates used between versions of Oracle
Reviewing the  EXPLAIN PLAN for both versions revealed in this case:
1) The table was partitioned
2) The EXPLAIN PLANS were not the same due to how the partitions were accessed
3) If the same query was used against a non-partitioned table using the same data, the following error would always occur
   ORA-01843: not a valid month
4) The problem string value was in this case found to include the string value of  '0000-00-00'
  The ORA-01843 occurred when using the TO_DATE function against '0000-00-00'
There is *no* Year= '0000' Month= '00' or day = '00' -- therefore the  ORA-01843: not a valid month
--Prashanth

Similar Messages

  • Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11.  I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies.

    Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11.  I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies. I even uninstalled and re-installed IE 11. It is still doing it.  I am surprized that a company like Adobe would just ignore our posts and leave us hanging this this.
    Error message is FAILED TO GET DISPATCH FROM IBRWSR2.  Then when you click on it the next error message says:  PHTML IS NULL. You have to click this error message twice and then the PDF finally loads. Happened every time
    Does anyone have a solution since Adobe will not respond?
    As a last resort I will try uninstalling the Adobe Reader XI and install Adobe Reader 10 instead. It seems to work ok. But when I try to install version 10 the Adobe site tries to install XI.  Any ideas?
    JimP08758

    It worked just fine for me.
    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache and
    * Remove Cookies '''''Warning ! ! '' This will log you out of sites you're logged in to.'''
    Type '''about:preferences'''<Enter> in the address bar.
    * '''Cookies;''' Select '''Privacy.''' Under '''History,''' select Firefox will '''Use Custom Settings.''' Press the button on the right side called '''Show Cookies.''' Use the search bar to look for the site. Note; There may be more than one entry. Remove '''All''' of them.
    * '''Cache;''' Select '''Advanced > Network.''' Across from '''Cached Web Content,''' Press '''Clear Now.'''
    If there is still a problem,
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • I AM RECEIVING THIS ERROR REPEATILY==ADOBE FLASH PLAYER UPDATE SERVICE 11.3R300

    I AM CONSTANTLY GETTING THIS ERROR MESSAGE ADOBE FLASH PLAYER UPDATE SERVICE 11.3R300 THE DE BUG CHOICE DOES NOTHING

    Please see this post for additional details and current workarounds for this error.
    Thanks,
    Chris

  • I downloaded the latest version of itunes.  Now I cannot open iTunes.  I receive this error message: The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll.  Thoughts?

    I downloaded the latest version of iTunes on my PC.  Now I cannot open iTunes.  I receive the following error message: "The procedure entry point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVfoundationCF.dll"  After pressing the "OK" button I receive a second error message: 'iTunes not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 127)".  I've uninstalled iTunes and reinstalled to no avail.  I've also eliminated the temp files (per suggestions on the trouble-shooting page) and no luck.  I also tried system restore and that did not fix the problem.  Any thougths on a repair?   

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • Application or DLL C:\Program Files\Mozilla Firefox\MOZCPP19.dll is not a valid windows image this error comes up on trying to open mozilla firefox(7.0.1)

    this error named bad image turns up every time due to corrupt dll file

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • After Installing Itunes, it will not open and I receive this error, "The procedure point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVFoundationCF.dll"

    Please help, cannot open itunes after uninstalling and reinstalling multiple times. Each time I receive the error message, "
    The procedure point AVCFAssetCreateWithByteStreamAndOptions could not be located in the dynamic link library AVFoundationCF.dll

    Does anyone have any suggestions?  I restarted my PC and even tried to repair through the contol panel Uninsta; program.  HELP!!!

  • My itunes does not open. I receive this error message:unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary

    Process:         iTunes [6564]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         10.3.1 (10.3.1)
    Build Info:      iTunes-10315501~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [143]
    Date/Time:       2011-06-26 09:12:25.888 -0400
    OS Version:      Mac OS X 10.7 (11A390)
    Report Version:  8
    Sleep/Wake UUID: 57AD9B95-8923-403C-BDB2-EBBBD4E1F09C
    Interval Since Last Report:          40546 sec
    Crashes Since Last Report:           6
    Per-App Crashes Since Last Report:   5
    Anonymous UUID:                      0B83B69E-63F7-4197-908B-49A24783F09F
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
      Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
      Reason: unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary
    Binary Images:
        0x1000 -   0xe50ff3  com.apple.iTunes (10.3.1 - 10.3.1) <DA5B3668-53FC-8550-A39C-06EB35AA692F> /Applications/iTunes.app/Contents/MacOS/iTunes
    0x8fe00000 - 0x8fe3320b  dyld (195 - ???) <33A6763E-295E-3FE1-9594-81B9E296BACC> /usr/lib/dyld
    Model: MacBookPro7,1, BootROM MBP71.0039.B0B, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f6
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 5.100.198.11 )
    Bluetooth: Version 2.5.0b13, 2 service, 19 devices, 3 incoming serial ports
    Serial ATA Device: Hitachi HTS545025B9SA02, 250.06 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
    USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06600000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 6
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0236, 0x06300000 / 2

    I have the same problem...
    Process:         iTunes [498]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         10.3.1 (10.3.1)
    Build Info:      iTunes-10315501~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [254]
    Date/Time:       2011-06-27 14:23:04.822 -0400
    OS Version:      Mac OS X 10.7 (11A390)
    Report Version:  8
    Sleep/Wake UUID: AC114B5B-BBDE-47BE-A34A-73D0CBEC2D1D
    Interval Since Last Report:          21605 sec
    Crashes Since Last Report:           3
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      7CA002EB-2F78-46A8-B8FC-917C420125C9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
    Dyld Error Message:
      Library not loaded: @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
      Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
      Reason: unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary
    Binary Images:
        0x1000 -   0xe50ff3  com.apple.iTunes (10.3.1 - 10.3.1) <DA5B3668-53FC-8550-A39C-06EB35AA692F> /Applications/iTunes.app/Contents/MacOS/iTunes
    0x8fe00000 - 0x8fe3320b  dyld (195 - ???) <33A6763E-295E-3FE1-9594-81B9E296BACC> /usr/lib/dyld
    Model: MacBook4,1, BootROM MB41.00C1.B00, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB, SMC 1.31f1
    Graphics: Intel GMA X3100, GMA X3100, Built-In, 144 MB
    Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz, 0xAD00000000000000, 0x48594D503131325336344350362D59352020
    Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz, 0xAD00000000000000, 0x48594D503131325336344350362D59352020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (5.10.131.36.5)
    Bluetooth: Version 2.5.0b13, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: FUJITSU MHY2250BH, 250.06 GB
    Parallel ATA Device: HL-DT-ST DVDRW  GSA-S10N
    USB Device: Built-in iSight, apple_vendor_id, 0x8501, 0xfd400000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8205, 0x1a100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x5d100000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0229, 0x5d200000 / 3

  • I Updated to 8.0 and now firefox will not open and I receive an Error message stating that 7.0.1 is not compatible with Min version 8.0 and max version 8.0. What can I do now?

    I tried uninstalling 7.0.1 and reinstalling it and still it would not update and problems such as losing my bookmarks, and it having different tool bars and add ons each time I opened it. I lost so many bookmarks and it became so frustrating that I decided to try and upgrade to see if that would overcome the problems. And now I have this problem. When I did a search on my hard drive to see how many firefox components there were I found firefox related files and documents all over the place and wondered if I should just delete anything related to firefox to clean any residual files that might be causing problems and then start a clean download, but I didn't want to delete files in windows and wasn't sure what I should delete and what I should leave. Can anyone help?? I miss my firefox and wish that I had never upgraded to 7.0.1 .

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

  • Using forms 6i, to import excel data to database not a valid month problem

    Hi all,
    i am fetching data from excel dynamically to oracle table, all data is of general type
    here i am passing value V3 varchar2(100) but actual database column field is DATE.
    my insert code is given below
    [code]
    PACKAGE BODY PK_EXCEL_TO_DB IS
    PROCEDURE PR_DO_INSERT(i_vcColumn1 IN VARCHAR2,i_vcColumn2 IN VARCHAR2,i_vcColumn3 IN VARCHAR2,i_vcColumn4 IN VARCHAR2,i_vcColumn5 IN VARCHAR2,i_vcColumn6 IN VARCHAR2,i_vcColumn7 IN VARCHAR2,
      i_vcColumn8 IN VARCHAR2,i_vcColumn9 IN VARCHAR2,i_vcColumn10 IN VARCHAR2,i_vcColumn11 IN VARCHAR2,i_vcColumn12 IN VARCHAR2,i_vcColumn13 IN VARCHAR2,i_vcColumn14 IN VARCHAR2,
      i_vcColumn15 IN VARCHAR2,i_vcColumn16 IN VARCHAR2,i_vcColumn17 IN VARCHAR2,i_vcColumn18 IN VARCHAR2,i_vcColumn19 IN VARCHAR2,i_vcColumn20 IN VARCHAR2,i_vcColumn21 IN VARCHAR2,
      i_vcColumn22 IN VARCHAR2,i_vcColumn23 IN VARCHAR2,i_vcColumn24 IN VARCHAR2,i_vcColumn25 IN VARCHAR2,i_vcColumn26 IN VARCHAR2,i_vcColumn27 IN VARCHAR2,i_vcColumn28 IN VARCHAR2,
      i_vcColumn29 IN VARCHAR2,i_vcColumn30 IN VARCHAR2,i_vcColumn31 IN VARCHAR2,i_vcColumn32 IN VARCHAR2,i_vcColumn33 IN VARCHAR2,i_lData IN tDataList) IS
        vcInsert   VARCHAR2(3500);
        i INTEGER:=0;
        flag boolean:= FALSE;
      BEGIN
        i:=i_lData.COUNT;
        :BLK_MAIN.T4:= vcInsert;
        vcInsert:='INSERT INTO CRM_DELT_IMPORT (';
        if length(i_vcColumn1) > 0 then
        flag:=TRUE;
        vcInsert:=vcInsert||i_vcColumn1;
        end if;
        if length(i_vcColumn2)  > 0 then
          IF flag THEN
          vcInsert:=vcInsert|| ','||i_vcColumn2;
          else
          vcInsert:=vcInsert||i_vcColumn2;
          end if;
        end if;
        if length(i_vcColumn3) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn3;
        end if;
        if length(i_vcColumn4) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn4;
        end if;
        if length(i_vcColumn5) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn5;
        end if;
        if length(i_vcColumn6) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn6;
        end if;
        if length(i_vcColumn7) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn7;
        end if;
        if length(i_vcColumn8) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn8;
        end if;
        if length(i_vcColumn9) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn9;
        end if;
        if length(i_vcColumn10) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn10;
        end if;
        if length(i_vcColumn11) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn11;
        end if;
        if length(i_vcColumn12) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn12;
        end if;
        if length(i_vcColumn13) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn13;
        end if;
        if length(i_vcColumn14) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn14;
        end if;
        if length(i_vcColumn15) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn15;
        end if;
        if length(i_vcColumn16) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn16;
        end if;
           if length(i_vcColumn17) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn17;
           end if;
           if length(i_vcColumn18) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn18;
           end if;
           if length(i_vcColumn19) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn19;
           end if;
            if length(i_vcColumn20) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn20;
            end if;
           if length(i_vcColumn21) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn21;
            end if;
           if length(i_vcColumn22) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn22;
           end if;
           if length(i_vcColumn23) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn23;
            end if;
           if length(i_vcColumn24) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn24;
            end if;
           if length(i_vcColumn25) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn25;
            end if;
           if length(i_vcColumn26) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn26;
            end if;
            if length(i_vcColumn27) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn27;
             end if;
            if length(i_vcColumn28) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn28;
            end if;
            if length(i_vcColumn29) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn29;
            end if;
            if length(i_vcColumn30) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn30;
            end if;
            if length(i_vcColumn31) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn31;
            end if;
            if length(i_vcColumn32) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn32;
            end if;
            if length(i_vcColumn33) > 0 then
        vcInsert:=vcInsert|| ','||i_vcColumn33;
        end if;      
        vcInsert:=vcInsert||') values(';
        if length(i_vcColumn1) > 0 then
        vcInsert:=vcInsert||''''||i_ldata(i).V1||'''';
        end if;
        if length(i_vcColumn2) > 0 then
        IF flag THEN
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V2||'''';
        else
        vcInsert:=vcInsert|| ''''||i_ldata(i).V2||'''';
        end if;
        end if;
        if length(i_vcColumn3) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V3||'''';
        --vcInsert:=vcInsert|| ','||''''||to_date(to_date(i_ldata(i).V3,'dd-mon-yy HH12:MI:SS'),'dd-mon-yy HH12:MI:SS')||'''';
        -- vcInsert:=vcInsert|| ','||''''|| to_date('i_ldata(i).V3','dd-mon-yy HH12:MI:SS')||''''; --to_date('18-JUN-2013 12:00:00', 'DD-MON-YYYY HH24:MI:SS')
        end if;
        if length(i_vcColumn4) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V4||'''';
        end if;
        if length(i_vcColumn5) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V5||'''';
        end if;
        if length(i_vcColumn6) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V6||'''';
        end if;
        if length(i_vcColumn7) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V7||'''';
        end if;
        if length(i_vcColumn8) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V8||'''';
        end if;
        if length(i_vcColumn9) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V9||'''';
        end if;
        if length(i_vcColumn10) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V10||'''';
        end if;
        if length(i_vcColumn11) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V11||'''';
        end if;
        if length(i_vcColumn12) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V12||'''';
        end if;
        if length(i_vcColumn13) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V13||'''';
        end if;
        if length(i_vcColumn14) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V14||'''';
        end if;
        if length(i_vcColumn15) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V15||'''';
        end if;
        if length(i_vcColumn16) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V16||'''';
        end if;
        if length(i_vcColumn17) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V17||'''';
        end if;
        if length(i_vcColumn18) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V18||'''';
        end if;
        if length(i_vcColumn19) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V19||'''';
        end if;
        if length(i_vcColumn20) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V20||'''';
        end if;
        if length(i_vcColumn21) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V21||'''';
        end if;
        if length(i_vcColumn22) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V22||'''';
        end if;
        if length(i_vcColumn23) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V23||'''';
        end if;
        if length(i_vcColumn24) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V24||'''';
        end if;
        if length(i_vcColumn25) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V25||'''';
        end if;
        if length(i_vcColumn26) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V26||'''';
        end if;
        if length(i_vcColumn27) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V27||'''';
        end if;
        if length(i_vcColumn28) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V28||'''';
        end if;  
        if length(i_vcColumn29) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V29||'''';
        end if;
        if length(i_vcColumn30) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V30||'''';
        end if;
        if length(i_vcColumn31) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V31||'''';
        end if;
        if length(i_vcColumn32) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V32||'''';
        end if;
        if length(i_vcColumn33) > 0 then
        vcInsert:=vcInsert|| ','||''''||i_ldata(i).V33||'''';
        end if;
        vcInsert:=vcInsert||')';
         FORMS_DDL(vcInsert);
         :BLK_MAIN.T4:= vcInsert;
       --END LOOP;
        STANDARD.COMMIT;
      END;
    END;
    [/code]
    How can i pass '13-06-13 05:54:33' to database table.
    if i put condition
    vcInsert:=vcInsert||','||''''||TO_CHAR('i_ldata(i).V3','DD-MON-RR HH12:MI:SS')||''''
    i get the error
    to_char many declaration..
    if i remove this i got error
    ORA-01843: no a valid month
    Since i am dynamically importing the excel data, every time the position of the date fild is going to change. For static its ok that i know that V3 is going to be a date.
    But for dynamic date may be  at position V22 or at any place.
    please suggest something.
    Regards
    Sam

    hii Marwin
    Thanks for the reply. Yes i understand what exactly you are saying.
    That's why i have created a test table. All fields in the table are of varchar2 type and no constraints were given to the table and import the data to test table.
    Once the data is imported to test table, then i am inserting data to my original table i.e CRM_DELT_IMPORT. I have written the following code for that.
    But when i press the button i got the error
    FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-00001
    my CRM_DELT_IMPORT have composit key on ("ROUTE_ID", "DELDATE", "DELSNO", "PROFILE_ID")
    I also inserted few records with normal insert on SQL prompt , records gets inserted in to the table.
    But when i use the form for insert and click on button of insert i get the error.
    I also check that records gets imported in test table but not get inserted into CRM_DELT_IMPORT table (with the help of form. )
    (can i use IGNORE_ROW_ON_DUPKEY_INDEX here? and how?)
    Please help me in this problem.
    Thanks again.
    Regards
    Sam
    My code on when-button-pressed is
    DECLARE
      CURSOR IMP IS
      SELECT ROUTE_ID, to_date(DELDATE,'DD-MM-RR HH24:MI:SS')DELDATE, DELSNO, DEL_BOY,
      PROFILE_ID, TRNTYPE, RECNO, EXP_FR, EXP_PA, EXP_SK, EXP_EMPTY, EXP_TIME, ACT_FR,
      ACT_PA, ACT_SK, ACT_EMPTY, ACT_TIME, LATITUDE, LONGITUDE, IS_FREE, RATE_LITER, AMT_DEBIT,
      DEVICE_ID, PROF_NAME, ADDR1, ADDR2, LANDMARK, PLAN_ID, DEL_MODE, NEW_CHANGE, NO_DEL_CODE,
      TO_DATE(DEV_DATE,'DD-MM-RR HH24:MI:SS')DEVICE_DATE, substr(DEV_TIME,12,19)DEVICE_TIME
      FROM TEST;
      IMP_REC IMP%ROWTYPE;
    BEGIN
      OPEN IMP;
      FETCH IMP INTO IMP_REC;
      WHILE IMP%FOUND
      LOOP
      INSERT INTO CRM_DELT_IMPORT(ROUTE_ID, DELDATE, DELSNO, DEL_BOY, PROFILE_ID, TRNTYPE, RECNO, EXP_FR, EXP_PA, EXP_SK, EXP_EMPTY,
      EXP_TIME, ACT_FR, ACT_PA, ACT_SK, ACT_EMPTY, ACT_TIME, LATITUDE, LONGITUDE, IS_FREE, RATE_LITER, AMT_DEBIT,
      DEVICE_ID, PROF_NAME, ADDR1, ADDR2, LANDMARK, PLAN_ID, DEL_MODE, NEW_CHANGE, NO_DEL_CODE, DEV_DATE, DEV_TIME)
        VALUES(IMP_REC.ROUTE_ID, IMP_REC.DELDATE, IMP_REC.DELSNO, IMP_REC.DEL_BOY, --to_date(DELDATE,'DD-MM-RR HH24:MI:SS')
      IMP_REC.PROFILE_ID, IMP_REC.TRNTYPE, IMP_REC.RECNO, IMP_REC.EXP_FR,IMP_REC.EXP_PA,IMP_REC.EXP_SK,IMP_REC.EXP_EMPTY,IMP_REC.EXP_TIME,IMP_REC.ACT_FR,
      IMP_REC.ACT_PA,IMP_REC.ACT_SK,IMP_REC.ACT_EMPTY,IMP_REC.ACT_TIME,IMP_REC.LATITUDE,IMP_REC.LONGITUDE,IMP_REC.IS_FREE,IMP_REC.RATE_LITER,IMP_REC.AMT_DEBIT,
      IMP_REC.DEVICE_ID,IMP_REC.PROF_NAME,IMP_REC.ADDR1,IMP_REC.ADDR2,IMP_REC.LANDMARK,IMP_REC.PLAN_ID,IMP_REC.DEL_MODE,IMP_REC.NEW_CHANGE,IMP_REC.NO_DEL_CODE,
        IMP_REC.DEVICE_DATE,IMP_REC.DEVICE_TIME); ---TO_DATE(DEV_DATE,'DD-MM-RR HH24:MI:SS'), substr(DEV_TIME,12,19)
      END LOOP;
      COMMIT;
      CLOSE IMP;
    END;

  • ORA-01843:This is not a valid month error

    One of our french customer using Oracle 11g R2 on RHEL is getting following error while running a stored procedure:
    ORA-01843: ce n'est pas un mois valide
    20120123::05:41:10 ended rebuilding cmroll table
    The error reported by ORACLE, in French « ce n'est pas un mois valide », means : « This is not a valid month ».I have asked him to verify the following settings on his machine:
    Please run the following query on Oracle Server to get the NLS settings. It specifies the settings both on Oracle client and Server.
    select * from nls_database_parameters;
    select * from nls_instance_parameters;
    However, you can override this setting by specifying the following environment variables in client or server. So kindly verify them  on both as well:
    1.     NLS_LANG
    2.     NLS_LANGUAGE
    3.     NLS_TERRITORYIs there anything further that can help me to trace this error?

    Moazzam wrote:
    ORA-01843: ce n'est pas un mois valide
    Is there anything further that can help me to trace this error?ORA-01843 Sounds a LOT more interesting in French :)
    I have to agree with the others that there is a problem with the code somewhere - again, the implicit conversion sounds promising. Or possibly a language issue (hopefully not)
    You should be getting a line number where the error is occurring. This can sometimes be deceptive; we use a WHEN-OTHERS exception handler but mark the code with a location marker throughout so we can look up errors and their locations in an exceptions table - in other words, the line cited in the error message may/may not be where the error happened. 11g sometimes reports errors on block headers too. There are other ways of finding the line the error is occurring on too, including just looking at the code (which is usually harder). Start by finding the line the error is occurring at.
    The "brute force" approach (if possible find an easier way) is to either use the debugger in a GUI tool or use DBMS_OUTPUT.PUT_LINE to trace your way through executions.
    When you find out where the error is occurring you can use DBMS_OUTPUT.PUT_LINE to display the value, find out what it is, and figure out what is causing the error, and fix it.
    Edited by: riedelme on Mar 13, 2012 7:11 AM

  • ERROR java.sql.SQLException: ORA-01843: not a valid month

    This page is working fine for English Language. Once we change preference Lanuage to "French Candian" We are getting this issue.
    This is little urgent on this.
    ERROR
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select
    ppf.person_id,
    ppf.employee_number,
    god.organization_id,
    ppf.full_name employee_name,
    (select full_name from per_people_x where person_id = paf.supervisor_ID ) manager_name,
    (select full_name from per_people_x where person_id = haou.attribute4 ) hr_name,
    --hr_general.decode_person_name(haou.attribute4 ) hr_name,
    haou.name organization_name,
    GEM.termination_date actual_termination_date,
    (select meaning from hr_lookups where lookup_type = 'LEAV_REAS' and lookup_code = GEM.Leaving_reason and enabled_flag = 'Y') leaving_reason,
    god.sub_business sub_business,
    god.business_segment business_segment,
    god.industry_focus_group industry_focus_group,
    pgd.segment2 corporate_Band,
    tl.territory_short_name country
    from per_people_f ppf,
    per_assignments_f paf,
    hr_all_organization_units haou,
    per_grades pg,
    per_grade_definitions pgd,
    per_addresses pa,
    fnd_territories_tl tl,
    XXsm_org_dtl god,
    XX_EXIT_TRANSACTION GET,
    XX_EXIT_MANAGER GEM
    where 1=1
    and paf.person_id=:1
    and paf.primary_flag='Y'
    and ppf.person_id = paf.person_id
    and paf.organization_id=haou.organization_id
    and paf.organization_id = god.organization_id
    and trunc(sysdate) between trunc(paf.effective_start_date) and trunc(paf.effective_end_date)
    and trunc(sysdate) between trunc(ppf.effective_start_date) and trunc(ppf.effective_end_date)
    and ppf.person_id=GET.employee_id(+)
    and GET.Transaction_id = GEM.transaction_id
    and paf.grade_id=pg.grade_id(+)
    and pg.grade_definition_id=pgd.grade_definition_id(+)
    and ppf.person_id=pa.person_id(+)
    and pa.primary_flag(+)='Y'
    and pa.country=tl.territory_code(+)
    AND tl.language = USERENV('LANG')
    AND trunc(sysdate) between trunc(pa.Date_from) and trunc(nvl(pa.Date_to, TO_DATE ('31-DEC-4712', 'DD-MON-YYYY')))
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:750)
         at ge.oracle.apps.per.selfservice.eexit.employee.webui.GEExitEmployeeCO.processRequest(GEExitEmployeeCO.java:112)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2348)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1747)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01843: not a valid month
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2566)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
         at oracle.jbo.server.ViewObjectImpl

    Are you hard coding anything in code or VO ?
    AND trunc(sysdate) between trunc(pa.Date_from) and trunc(nvl(pa.Date_to, TO_DATE ('31-DEC-4712', 'DD-MON-YYYY')))Try some modification in the above nvl code and test.
    And refer:
    http://apps2fusion.com/apps/apps/430-string-to-date
    -Anand

  • [PL/SQL Error] ORA-01843: not a valid month, not sure how to troubleshoot

    Trying to use PL/SQL to automatically create a report that show the following:
    Daily:      
    # of Registered Users      
    # of Completes (assessment)      Average per User
    # of Starts (assessment)      Average per User
    Weekly:      
    # of Registered Users      
    # of Completes (assessment)      Average per User
    # of Starts (assessment)      Average per User
    Yearly:      
    # of Registered Users      
    # of Completes (assessment)      Average per User
    # of Starts (assessment)      Average per User
    When I run the PL/SQL I get the following
    [error]
    ORA-01843: not a valid month
    [error]
    The error occurs on this part of the PL/SQL
    --registered users weekly starts
    select count(*), trunc(next_day(sysdate-29, 'SUNDAY')-7), trunc(sysdate-29)
         into v_weekly_count_total_ru, v_weekly_start_date, v_weekly_end_date
              from entities
                   where list_id = 3290
                   and participation_code_id = 10
                   and trunc(participation_date)
                   between trunc(next_day(sysdate-29, 'SUNDAY')-7) and                         
                            trunc(sysdate-29);I'm using the number 29 because I'm using a test database to test this first before moving it into production. And my test data only goes back to early August 2006.
    Also, I'm not doing anything with months, so I am suprised that it is throwing this type of error.
    thanks

    I tested a snippet of code in my production environment, just to see if I would get any results:
    --registered users weekly starts
    select count(*), trunc(next_day(sysdate-1, 'SUNDAY')-7), trunc(sysdate-1)
         --into v_weekly_count_total_ru, v_weekly_start_date, v_weekly_end_date
              from entities
                   where list_id = 3290
                   and participation_code_id = 10
                   and trunc(participation_date)
                   between trunc(next_day(sysdate-1, 'SUNDAY')-7) and trunc(sysdate-1);
    COUNT(*)     TRUNC(NEXT_DAY(SYSDATE-1,'SUND     TRUNC(SYSDATE-1)--INTOV_WEEKLY
    1     09/10/2006 00:00:00     09/11/2006 00:00:00I did a double check in my test DB to make sure there is data there:
    select count(*)
         from entities
              where trunc(participation_date)
              between to_date('01-08-2006','DD-MM-YYYY')
              and to_date('14-08-2006','DD-MM-YYYY')
              and list_id = 3290;
    COUNT(*)
    11So I'm pretty sure that I'm not pulling anything null.
    thanks

  • Need help in understanding the error ORA-01843: not a valid month - ECX_ACT

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

  • ORA-01843: not a valid month

    Hi
    I get the following error message intermittently.
    ===> ORA-01843: not a valid month
    The problem is only intermittent! Which makes this more difficult to solve !
    Ideas please ?
    The piece of problematic ProC code is given below -
    ===
    if(nForUpdate)
    EXEC SQL SELECT * into :dbtbl:dbind FROM MYTABLE
    WHERE my_time = :dbtbl.my_time
    AND myf_id = :dbtbl.myf_id
    AND myl_id = :dbtbl.myl_id
    AND myw_id = :dbtbl.myw_id
    FOR UPDATE;
    else
    EXEC SQL SELECT * into :dbtbl:dbind FROM MYTABLE
    WHERE my_time = :dbtbl.my_time
    AND myf_id = :dbtbl.myf_id
    AND myl_id = :dbtbl.myl_id
    AND myw_id = :dbtbl.myw_id;
    Raja

    So what kind of error handling to you have in place to log the error messages and related diagnostic information?
    This error usually happens when we have a character variable holding dates as strings, with the inevitable corruption of invalid dates being amongst those strings.
    If you say it isn't data in the table and the input parameter :dbtbl.my_time always contains a date, then the only possible explanation is that Red Lectroids are corrupting your database with their alien 8th Dimension calendar....
    Cheers, APC

  • JBO-27122: SQL error & java.sql.SQLException: ORA-01843: not a valid month

    Hi,
    We developed OA page for Employee's Payslip and it is working fine for all the employees but it is not working for only one employee...Getting the error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement
    preparation
    ## Detail 0 ##
    java.sql.SQLException: ORA-01843: not a valid month
    Real Scenario is:
    The user "DANISH.LOTFY" is login into application and when he click on Payslip to the month then he is always getting the above error.
    For testing purpose we have removed his employee assignment from user screen(fnd_user) and assigned some other employee name (say MOHAMED.ELBAHY)... After this when DANISH.LOTFY logins into the application and payslip page is working fine...(He can able to see MOHAMED.ELBAHY payslip.....
    Realy we don't know this strange behaviour of OA ...
    ------ Code with Error details------------------
    Statement:
    SELECT * FROM (SELECT DISTINCT ppa.DATE_EARNED, TO_CHAR(ppa.DATE_EARNED,'MON-YYYY') DISPLAY
    , TO_CHAR(ppa.DATE_EARNED,'MM YYYY') PARAM
    FROM
    pay_payroll_actions ppa
    ,pay_assignment_actions pac
    ,PER_ALL_ASSIGNMENTS_F PASS
    ,FND_USER FU
    ,per_time_periods PTP
    WHERE ppa.payroll_id = 61
    AND ppa.payroll_action_id = pac.payroll_action_id
    AND PAC.ASSIGNMENT_ID = PASS.ASSIGNMENT_ID
    AND PASS.PERSON_ID = FU.EMPLOYEE_ID
    AND FU.USER_ID =Fnd_Profile.VALUE('USER_ID')
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) IS NOT NULL
    ---Added by Sudipta C on 28th Janaury 2008
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) <> TRIM(TO_CHAR(SYSDATE,'MON-YYYY'))
    AND ppa.DATE_EARNED=(SELECT MAX(DATE_EARNED) FROM pay_payroll_actions WHERE time_period_id=ppa.time_period_id)
    AND ppa.DATE_EARNED >='30-NOV-2007'
    UNION ALL
    --Query to Display only the Current Month if the Concurrent Request Ran
    SELECT DISTINCT ppa.DATE_EARNED, TO_CHAR(ppa.DATE_EARNED,'MON-YYYY') DISPLAY
    , TO_CHAR(ppa.DATE_EARNED,'MM YYYY') PARAM
    FROM
    pay_payroll_actions ppa
    ,pay_assignment_actions pac
    ,PER_ALL_ASSIGNMENTS_F PASS
    ,FND_USER FU
    ,per_time_periods PTP
    WHERE ppa.payroll_id = 61
    AND ppa.payroll_action_id = pac.payroll_action_id
    AND PAC.ASSIGNMENT_ID = PASS.ASSIGNMENT_ID
    AND PASS.PERSON_ID = FU.EMPLOYEE_ID
    AND FU.USER_ID = Fnd_Profile.VALUE('USER_ID')
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) IS NOT NULL
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) = TRIM(TO_CHAR(SYSDATE,'MON-YYYY'))
    AND ppa.DATE_EARNED=(SELECT MAX(DATE_EARNED) FROM pay_payroll_actions WHERE time_period_id=ppa.time_period_id)
    AND ppa.DATE_EARNED >='30-NOV-2007'
    --Check the Concurrent Program Ran or not to Display the SYS Month Payroll Period ID
    AND EXISTS
    (SELECT TRIM(TO_CHAR(REQUEST_DATE,'MON-YYYY')) FROM fnd_conc_req_summary_v fcrs
    WHERE program_short_name = 'PROC_EXP1_TESTING'
    AND PHASE_CODE='C' AND STATUS_CODE='C'
    AND TO_CHAR(REQUEST_DATE,'MON-YYYY')=TO_CHAR(SYSDATE,'MON-YYYY')
    AND REQUEST_DATE=(SELECT MAX(REQUEST_DATE) FROM fnd_conc_req_summary_v
    WHERE CONCURRENT_PROGRAM_ID=fcrs.CONCURRENT_PROGRAM_ID))
    ORDER BY 1 DESC) QRSLT WHERE (( UPPER(DISPLAY) like :1 AND (DISPLAY like :2 OR DISPLAY like :3 OR DISPLAY like :4 OR DISPLAY like :5)))
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(OAPageBean.java:2555)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1677)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01843: not a valid month
    Could any please suggest/provide your valuable inputs to resolve this issue(It is in production , so please treat it as very urgent).
    Thanks & Regards,
    J.Prakash

    Hi,
    This is really a strange behaviour as you are saying that it is happening only for one user so please check his user preferences.
    Regards,
    Reetesh Sharma

Maybe you are looking for

  • Best Practice for initial data

    When installing a database onto a new server, I do not know what is the best solution to populate the database with the initial data that needs to exist before I can start running. I have sql scripts that take care of creating the tables, constraints

  • Problem in printing not from locl

    the user want to print not in his defulat printer  "locl", the basis create for him printer name "kuku" based/copy on "LOCL"  , when the user try to send the print through this new printer nothing happend  , so : 1) is the right solution for it is co

  • The preview build section is not available in normal PC Settings. How can i get it?

    the preview build section is not available in normal PC Settings. How can i get it? How do i update to new build HELP Please

  • How can I output this differently ?

    I currently output my report in a table using the following : <table width="760" border="1" bordercolor="black" cellspacing="0" cellpadding="2">           <tr bgcolor="#DCDEE0">             <td class="TitleText"  align="center"><b>Month/Year</b></fon

  • Sql Developer hangs/ crashes while debugging

    While happily debugging a piece of an SQL package using the remote debugger, I get a hang/crash on SQL devleoper. This occurs when I highlight a piece of code in the debugging window. The application freezes and has to be restarted using WindowsTaskM