Invalid month error during import

I have set NLS_DATE_FORMAT=”YYYY-MM-DD HH24:MI:SS’ in my import script, yet I get following error in import. I tried NLS_DATE_FORMAT=”RRRR-MM-DD HH24:MI:SS” as well, yet get same error. How can I get rid of the error.
I am on Oracle 10.2.0.4 on HP UNIX.
" ALTER TABLE "IN_ERM_SPOOL" MODIFY ("REPORT_TIME" DEFAULT '1970-01-01 00:00"
":00' )"
IMP-00003: ORACLE error 1843 encountered
ORA-01843: not a valid month
IMP-00017: following statement failed with ORACLE error 1843:
" ALTER TABLE "IN_EXTERN_MSG" MODIFY ("START_TIME" DEFAULT '1970-01-01 00:00"
":00' )"
IMP-00003: ORACLE error 1843 encountered
ORA-01843: not a valid month

That was a typo. Double quotes are needed in shell script.I am sorry to see that COPY & PASTE is broken for you.
Post results of
SELECT * from v$version;
I am NOT convinced that setting OS environmental variable has the desire results
bcm@bcm-laptop:~$ export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
bcm@bcm-laptop:~$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sat Nov 20 19:52:55 2010
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select sysdate from dual;
SYSDATE
20-NOV-10
SQL> alter session set NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS';
Session altered.
SQL> select sysdate from dual;
SYSDATE
2010-11-20 20:17:34
SQL>

Similar Messages

  • Error importing SharePoint site collection - "there is an error during importing the Roles tag"

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

  • Error During Import: File Could Not Be Imported

    I am trying to load some .AVI movies from my digital camera into iMovie; most of them will, but 1 or 2 for some reason will not. I have played some of these videos on my old G3, which I replaced with this new computer; most loaded in OK.
    The clips that won't load look smaller than the others when playing (don't know why). I played the movies and converted them to Quicktime again in MPEG Streamclip and they played fine (also in VLC PLayer, FWIW).
    I am getting this error message: Error during Import: File Could Not Be Imported.
    Also, I am trying to change the orientation of one clip that I inadvertently shot sideways; I did this in Bitlist but it won't load now into iMovie. Is there away to change the orientation in Quicktime (I'm not buying QT pro) or another free converter that will work?
    Thanks in advance...

    try to ...
    * open the avi/mpegs in Streamclip
    * choose 'DV stream' as export option
    * in the 'DV stream' dialog, you're offered the option 'turn'.. rotate in the wanted direction and choose '75%' size to get all into the video...

  • Variable not set (error 91)/Error during import (error 102)/execut bat file

    We are on BO 11.5.0.0 and using the COM SDK with Visual Basic to run multiple reports (sometimes multiple flavors of the same report) through a bat file.
    If we run the reports single-threaded through the bat file, the reports run fine.  However, if multiple versions of the bat file start at approximately the same time, we get one of two errors:
    91 Object variable or With block variable not set
    102 Error during import document -
    Here's the part of the code with the problem:
    Dim BOapp As busobj.Application
    Dim receiveDoc As busobj.Document
    Set BOapp = New busobj.Application
    BOapp.Interactive = False
    BOapp.Logon strUser, strPass, strFromSystem, "Enterprise", False, False
    BOapp.Visible = False
    Set receiveDoc = BOapp.Documents.OpenFromEnterprise(strFromRep, strFromFolder, boFolder)
    receiveDoc.SaveAs (strDocumentPath & strFromRep & ".REP")
    Values for the following variables are passed in from the bat file:
    strUser
    strPass
    strFromSystem
    strFromRep
    strFromFolder
    strDocumentPath
    If it fails on the OpenFromEnterprise statement, we get the 102 error.
    If it fails on the SaveAs statement, we get the 91 error.
    Running it through debug hasn't helped, since we are running only one report.
    Any thoughts on what could be going wrong?
    Thanks in advance

    I have tried this running the VB code on my desktop (outside of the bat file) and nothing out of the ordinary occurs.  The VB code runs fine with only one occurrence.
    I had seen on other posts "ThisDocument" and didn't know if it would be applicable in this situation.  I also wasn't sure how it should be used based on the rest of my code.  Would "ThisDocument" make a difference?
    Thanks again

  • SEVERE: DB Error during import of BC_SL_ACTIVE_PARTS

    Hello all,
    We are trying to perform the system refresh using sapinst (load based) on AIX/DB2 UDB environment.
    During the "Import Java Dump" phase, we are getting the below error;
    SEVERE: DB Error during import of BC_SL_ACTIVE_PARTS
    SEVERE: Message: The object of type java.sql.Date with the value '2006-06-22 07:
    00:00.0' assigned to host variable 5 is not normalized. It must not contain time
    components in the time zone running the virtual machine.
    SEVERE: SQLState: SAP06
    SEVERE: ErrorCode: 1001124
    As per the OSS note 915548 we changed the Server & Desktop time zone to GMT+01:00, and started a fresh installation.
    However we are still facing the same issue. Does anybody have a resolution for this, if so please help me, I shall definitely reward you.
    Thanks in advance.
    Regards,
    Kiran.

    Hello,
    I've got exactly the same problem.
    I was installing a CRM50 Unicode System, using a System Copy procedure.
    (Source System platform: Win2003 x86, MsSQL2005, j2sdk-1_4_2_13-windows-i586-p.exe)
    Into a Target System Platform:
    - Processor Geniune Intel Xeon 3 Ghz x86
    - Windows 2003 x64 bits
    - MS SQL Server 2005
    - j2sdk-1_4_2_13-windows-amd64.exe --> 941595 - Download J2SE 1.4.2 for the x64 platform Java
    - j2sdk-1_4_2_13-windows-i586-p.exe
    (both Java versions installed, according to the Sap note)
    I already did what you said:
    - Change timezone
    - Uninstall CRM50, using sapinst\Aditional Software Life Cycle Task\...
    - Reebot the server
    - Staring a fresh installation again
    Please advise, I've been working for the last four days on this, with no luck.
    Maybe the problem is java version, perhaps j2sdk-1_4_2_09-windows-amd64.exe or another one would be enough, or, I need to reinstall everything since the beginning, including MSSQL2005.
    Can someone help us out please, thanks.

  • Invalid month error sometimes in SQL Developer

    Hi
    sometimes I get 'Invalid Month error' in SQL developer when I execute the following query
    select TRUNC(TO_DATE('01-JUN-2013','DD-MON-YYYY')) from dual;
    But when I dosconnect session and reconnect, It works fine
    Any suggestions on how to avoid this issue ?
    Thanks

    872202 wrote:
    Hi
    sometimes I get 'Invalid Month error' in SQL developer when I execute the following query
    select TRUNC(TO_DATE('01-JUN-2013','DD-MON-YYYY')) from dual;
    But when I dosconnect session and reconnect, It works fine
    Any suggestions on how to avoid this issue ?
    ThanksThere's absolutely no reason that that should result in that error.
    The SQL is sent to the database and it's perfectly valid SQL, taking a string, and converting it to a date with the correct date format mask, and then truncating the date (which, by default is to the day, which in this case is pointless as it's already truncated), returning a DATE datatype, which SQL Developer will then render using it's date display format.

  • Strange invalid month error.

    Hi all,
    I have a function which receives a date and then returns a text string saying what day of the week it is, ie Monday Tuesday etc etc
    For example sakes I'll say the function is called dayoftheweek and we use the function like 'select somedate, dayoftheweek(somedate) from dual'
    Now, the bit within the function that works out the day is as below
    SELECT TO_CHAR(TO_DATE(p_date, 'DD/MM/RRRR') ,'DAY') from dual (p_date is the internal function variable for the date passed in.)
    Now, if I do this
    select dayoftheweek('25-MAY-09') from dual -- this works.
    But...
    select dayoftheweek('25/05/09') from dual -- this does not work, I get an ora 01843 invalid month error.
    So, I assumed it was something to do with the logic that worked out the day of the week.
    However, the below works.
    SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/RRRR') ,'DAY') from dual
    Does anyone know why when passing a date to the function in format 'select dayoftheweek('25/05/09') from dual' does not work but if I use this format within the function logic as above it does work?
    Cheers,
    rg

    Hello,
    Oracle does not know your date format:
    select dayoftheweek('25/05/09')I.e, it does not know that the date you are passing in is in the form of 'DD/MM/MM'. You must tell it (since it isn't your default format):
    select dayoftheweek(to_date('25/05/09', 'DD/MM/YY'))If all you wanted, however, was the day of the week from a date, then:
    TO_CHAR(to_date('25/05/09', 'DD/MM/YY'), 'DAY')Will give you that.
    And by the way, this:
    SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/RRRR') ,'DAY') from dualIs correct by chance, even though you're getting no error you may get the wrong result, because you're telling oracle you're passing in 4 digits for the year, yet you're only passing in two.
    Edit Beware:
    SQL> SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/RRRR'), 'YYYY') from dual;
    TO_C
    2009
    SQL> SELECT TO_CHAR(TO_DATE('25/05/09', 'DD/MM/YYYY'), 'YYYY') from dual;
    TO_C
    0009

  • Invalid month error in WEBI report level

    Hi,
    I had a issue with date format.I am using oracle10g as a backend database.I have a  date object in universe level i used that object in web intelligence report level.I created prompt for date object after select the date from the list i  am getting " invalid month error". In database level object datatype is timestamp.
    How to solve this issue.can somebody help me to solve the problem.

    Hi
    Date  Objects depends on various formats for different database
    Make sure that u format date like MM/dd/yyyy in universe level . and the object should be in date datatype .
    In the query level use prompt to select dates.
    In report level
    create a variable and use a formula like
    todate(userresponse("Enter date");"")
    Hope this helps U
    Sunil

  • Why do i getThe following clip encountered an error during import and is still referencing media on the camera:

    When importing in FCPX 10.1.3 I get: The following clip encountered an error during import and is still referencing media on the camera:  ??? anyone

    I get this sometimes too, when importing from P2 cards.  Sometimes it takes me a few tries to get it imported.  I have noticed that it seems to work better when I actually mark an IN and Out for the clip, but that's not totally a solution.

  • Message: The following clip encountered an error during import and is still referencing media on the camera:

    I am getting this message when I try to import files from Canon C100: The following clip encountered an error during import and is still referencing media on the camera:
    These are AVCHD files and it seems to be happening randomly.  With different clips as I try to import...happening both with regular importing and with Create Optimized Media...
    It just started happening yesterday-never had this problem before and have uploaded countless times with this camera and system. THanks.

    Update: OK, I just tried to import the footage into another hard drive (an internal hard drive) and it seems to be going fine now.  Maybe something is corrupted on the external hard drive I was importing into...wierd.

  • Error during import (-40)

    I have a G5 Dual 2G with 2G of ram running Imovie 3.0.3. I am trying to import a 42.9M mp4 file and a 189.9M .mov file and am getting this error message after about 6 minutes of trying to import: "Error during import (-40)".
    Can anyone tell me what the problem might be? I have serched the forum and came up with the "Use Streamclip 1.8" thats why I could make the 189.9M .mov file into the 42.9M mp4 file.
    I was sucsesful in importing 38.5M .mov files into itunes but I seem to have a limit. Does this make sense to anyone?
    Thanks for the help.

    Aquilafisher,
    You can open the 189.9 mov file in MpegStream clip and export to DV format for iMovie (DV is iMovie's native format).
    When you choose export to DV format you'll be presented with the "DV Exporter Window" with several options. One option is to "Split DV into Segements" Choose it (This option automatically splits the clip into 2gb or less segments).
    You can export the segments directly into your iMovie project's media folder. Next time you open the iMovie project you'll be offered the option to have those segments moved to the clips pane (you can also import the segments but that takes longer).
    I was sucsesful in importing 38.5M .mov files into itunes but I seem to have a limit.
    Is this the same file 49mb mp4 file that you could only partially import or is this a different file that you were successful importing?????
    Is there any particular reason you exported to mp4 first, exactly what are you trying to accomplish?

  • 'Error during import of clipboard contents' runing from ITS server

    Dear Friends,
    when I execute the report and smartform program from ITS server it is giving a error message 'Error during import of clipboard contents' in the web page.
    Please guide me how to resolve this issue.
    Thanks & Regards
    Tapas Dutta

    Hi Victor,
    Good Morning.
    Can you please confirm you are installing new SAP NW Java system on the same host where SAP NW ABAP is running or you are trying to install SAP NW JAVA as addin installation to existing SAP NW ABAP?
    Regards
    Naveen Garg

  • Error during importing photos

    For some reason, I get an "error during import" message when i try to drag my photos into my movie. (i've done it before successfully) They show up in my photo library when i click on the photos tab in imovie, but it wont let me import them. any thoughts?

    WHen I tried to drag all my pictures of that Album (or one at a time) from the iMovie picture pane displaying that Album, I get an error
    Why are you doing this? Every album (in fact, every photo, whether in an album or not) in your current iPhoto library is directly available from the pop-up menu when the "photos" tab is selected in iMovie. There is nothing that needs to be imported. Only photos that have not been previously incorporated into iPhoto need to be dragged to iMovie.

  • Error during Import (-2126)

    I have imported Quicktime files from my computer into iMovie before (clips orginally from my digital camera) with no problem. However, when I go to import now I get the message "Can't open file "xxxx.AVI"; skipping it and continuing" then right after the message "Error during import. The file could not be imported (-2126)" If anyone knows why this would happen and I how I can fix it, that would be amazing.... Thanks in advance!!
    ** I have Quicktime version 7.0.1 and iMovie 4.0.1 if that helps.
    iMac G5   Mac OS X (10.3.9)  

    iMovie does not work with AVI files. You have to convert the file to a format that iMovie understands.
    Start here...
    http://www.danslagle.com/mac/iMovie/qt_plugins/3000.shtml
    Patrick

  • "Error During Import" after authorization

    HI all,
    I transferred a few songs from my desktop to my laptop. The songs play fine in iTunes after the transfer. When trying to use the music in iMovie, it asks for authorization (I only have my songs authorized on 1 computer). I give my password and a messaage pops up saying that the authorization was successful. I try to import the song into iMovie and the message I get is:
    *Error During Import*
    The file could not be imported: The file “(file path)” isn’t authorized for this computer.
    Any ideas?
    TIA!

    Hi c
    Only way around I use is:
    • in iTunes export out as audio-CD .aiff
    • use this in Your movie project
    Yours Bengt W

Maybe you are looking for

  • Channels not monitorable in the Communication Channel Monitor / RWB

    Hi, Back on XI after a long break… ☺ I am facing an issue with our in-house JCA adapter used in XI scenarios. When trying to monitor the channels using our adapter from the Communication Channel Monitor in RWB, I have the following:     Status: NA   

  • My macbook pro 2011 (late) have blackscreen on startup?

    i have macbook pro 2011 (late) i go holiday 3 days and i'm not use my macbook and i go back from holiday and i have blackscreen on startup.. and if i want repair to apple how to make appointment? i'm live in taiwan anyone can help me?

  • Non existent broadband phone and customer service

    After a week with no broadband I am still no closer to having any service. Despite numerous times being advised that they need to call on mobile as my home phone doesnt work aswell they keep calling my home phone. They finally gave me a number to cal

  • Urgent! Please Help on KT6 Delta

    I mounted the sistem on AMD XP 1800, i had it on a motherboard soltek sl75drv5 and was working 100%. I put thermal grease and all that on the cpu, but when a start the system, like 30 seconds later, it starts to make a sound in the cpu area, like if

  • Printing size question

    I have three slides which when I print them out onto an 8 1/2" x 11" paper, each slide prints as a really small slide and not full page. Is there a simple fix for this? The slide setting is 1024 x 768 but I assumed that is for screen size only. Thank