Help on the ORA-01841: (full) year must be between-4713 and 9999 and not

While in the console f? p = 4050 connected in internal/admin in Home-> manage workspaces-> manage developers and users
Download "ORA-01841: (full) year must be between-4713 and 9999 and not 0" when you try to change a user.
Unable to reset the password or modify an admin user.
This just started 2 weeks ago.


Using Application Express 4.0.2.00.06.

Someone has seen this.

I heard of a problem due to a problem with the PASSWORD_LIFE_TIME. Worth giving a try:

Solution
The apex_admin app, navigate to home > Service Management > security then enter integer values for:

-Lifetime account password (days) - enter 11688, for example
-Apply the changes.

Tags: Database

Similar Questions

  • Error: ORA-01841: (full) year must be between-4713 and 9999 and not 0

    Hi - I get error ORA-01841 ((full) year must be between-4713 and 9999 and not 0) because of the following line in my where clause:

    AND p_run_date < ((add_months (ip. insured_plan_termination_date,,13) nvl), to_date (31-DEC-9999. ' ' DD-MON-YYYY '))

    I look and what I read speaks not to compare the strings that contain dates, but that is not the case here.   p_run_date is without a doubt a date.  I've hardcoded even on a specific date, and I still get the error.

    Any help is greatly appreciated.

    Thank you

    Christine

    Hi, Christine.

    What is insured_plan_termination_date when you get the error?  If it's December, 9998 or later version, you cannot add 13 months, which would put the year beyond 9999, everything as the error message said.

    You said p_run_date is without a doubt one DATE, but what about insured_plan_termination_date?

    It would really help if you could post a test script complete (including CREATE TABLE and INSERT and your complete query instructions) so that people can recreate the problem and test their ideas.

    Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?

  • ORA-01841: (full) year must be between-4713 and 9999 and not 0

    I get the error when I run the following. ORA-01841: (full) year must be between-4713 and 9999 and not 0

    Fiscal_Year = 2011

    When I run the query.

    Select * from gl
    where gl_date > = to_date ('01 - SEP-|) FISCAL_YEAR-1 "," MON-DD-YYYY")
    AND gl_date < = to_date (31 - AUG-|) FISCAL_YEAR', 'DD-MON-YYYY')

    Gl_date is of date data type

    Published by: 893185 on April 6, 2012 11:04

    Published by: 893185 on April 6, 2012 11:04

    893185 wrote:
    It gives invalid number

    The operators | and - have the same priority level, if

    SELECT *
    FROM   gl
    WHERE  gl_date >= TO_DATE ( '01-SEP-' || (fiscal_year - 1), 'DD-MON-YYYY')
           AND gl_date <= TO_DATE ( '31-AUG-' || fiscal_year, 'DD-MON-YYYY');
    

    Concerning
    Peter

  • There is a problem, I met when I was used to import 'date' datatype sqlldr: ORA-01841: (full) year must be between-4713 and 9999 and not 0

    control the file as follows:

    load data

    INFILE *.

    insert into table test1

    Fields ended by ',' optionally surrounded "" "

    (id, time_date ' to_date (: time_date, "YYYY-MM-DD HH24:MI:SS)")

    begindata

    "1," 2007-07-18 00:00:00.

    2, "2017-07-18 00:00:00"

    the structure of the table:

    create table test1 (int id, date time_date);

    I'm waiting for your ansers!

    Hello

    seems to be a problem with your file, check on Notepad, the value of the column was enclosed in double quote not 2 times the apostrophe...

    load data

    INFILE *.

    insert into table test1

    Fields ended by ',' optionally surrounded "" "

    (id, time_date ' to_date (: time_date, "YYYY-MM-DD HH24:MI:SS)")

    begindata

    1, "2007-07-18 00:00:00.

    2, "2017-07-18 00:00:00.

    HTH

  • the year must be between-4713 and 9999... wellllll... it is!

    I'm using SQL * Loader in Oracle 11.2.0.1. I am really puzzled why some files (of thousands) in my. Produce CSV files:

    Sheet 5: Rejected - error on the table IMPORT_PLAYERS, BIRTHDATE column.
    ORA-01841: (full) year must be between-4713 and 9999 and not 0

    Accounts really made the impression that they are the same as all the rest.

    The controlfile is quite simple:

    load data
    INFILE ' / tmp/test/test.csv'
    in the import_players table
    fields ended by ',' optionally surrounded "" "
    TRAILING NULLCOLS
    (player_id, tank,
    char name,
    last_name char,
    tank position,
    whole first_season
    whole last_season
    whole h_feet
    h_inches float,
    integer weight,
    college tank,
    Date of birth DATE "YYYY-MM-DD HH24:MI:SS")

    Here is a sample of the. CSV, which has two records of 'bad' - I have bolded the records that cause problems:

    BAILETO01, Toby Bailey, G, 1998, 1999, 6, 6, 213, University of California - Los Angeles, 1975-11-19 00:00:00
    Jimmie Baker, BAKERJI01, F, 1975, 1975, 6, 9, 220, University of Hawaii, 1953-12-25 00:00:00
    BAKERMA01, Mark, Baker, G, 1998, 1998, 6, 1, 175, Ohio State University, 1969-11-11 00:00:00
    BAKERNO01, Norm, Baker, g., 1946, 1946, 6, 0, 180, 1923-02-17 00:00:00
    * BAKERVI01, wine, Baker, F, 1993, 2005, 6, 10.5, 232, University of Hartford, 1971-11-23 00:00:00 *.
    BAKERMA02, Maurice, Baker, g., 2004, 2004, 6, 1, 175, Oklahoma State University, 1979-07-28 00:00:00
    BalkmRe01 Renaldo Balkman, F, 2006, 2009, 6, 8, 208, University of North Carolina, 1984-07-14 00:00:00
    BALLCE01, Cedric, ball, F, 1990, 1990, 6, 8, 210, University of North Carolina at Charlotte, 1968-04-16 00:00:00
    BALLAGR01, Greg, Ballard, F, 1977, 1988, 6, 7, 215, University of Oregon, 1955-01-29 00:00:00
    BELLRA01, Bell, Raja, g., 2000, 2009, 6, 5, 215, Florida International University, 1976-09-19 00:00:00
    BELLWI01, William, Bell, G, 1959, 1960, 6, 0, 180, North Carolina State University, 1932-09-13 00:00:00
    * BELLAWA01, Walt, Bellamy, c., 1961, 1974, 6, 10.5, 225, Indiana University, 1939-07-24 00:00:00 *.
    IRV, Bemoras, BEMORIR01, f., 1953, 1956, 3, 6, 185, University of Illinois, 1930-11-18 00:00:00
    BENBOLE01, Leon, Benbow G, 1974, 1975, 6, 4, 185, Jacksonville University, 1950-07-23 00:00:00

    I don't really see what's the difference between these and other documents. DATE formats look good and adjust the format of the image that I gave. No special characters - I even copy and paste these files into a new file and I still have this strange error.

    Tried to change the format of DD-MM-RRRR, but it made no difference.

    The DDL table is:

    create table import_players)
    player_id varchar2 (15).
    first name varchar2 (30),
    VARCHAR2 (30) last_name,.
    position tank (1),
    whole first_season
    whole last_season
    whole h_feet
    h_inches float,
    integer weight,
    College varchar2 (50).
    Date of birth
    );

    I'm sure it's something very obvious but... I hit my head for a while now and can't see the problem. Any ideas?

    Hello raindog.
    By specifying the data type of the float in the file control prevents the decimal is interpreted correctly. By removing the data type and therefore have SQL * Loader present Oracle a string instead of a float, Oracle will then force a data conversion and data will load. I would like a little further to determine how to use the type of data in the control file so that Oracle is provided the already converted value research.

    Hope this helps,
    Luke

  • ORA-01841 year must fall between-4713 and 9999

    Hello

    I try to make simple plsql function and I get this error.

    create or replace function biorytmy (d_urodzenia varchar)

    Return number

    is

    number of v_ile_dni;

    BEGIN

    Select to_number (sysdate - (to_date ('d_urodzenia', ' yyyy/mm/dd'))) in the double v_ile_dni;

    Return v_ile_dni;

    END;

    /

    Any suggestions?

    Paul

    Hello

    2877737 wrote:

    Thx for ansers, then how I can insert the number of days variable and use it as number later?

    Paul

    Have you seen answer #2 above?

    If you want that the function always returns an integer, use TRUNC (SYSDATE) instead of SYSDATE.

    You can use a function like this in an INSERT statement.  If you have trouble, after the INSERT statement.

  • error when reading flat file of external table... "ORA-01849: time must be between 1 and 12"

    My question is - is it possible for me to fix this error at the level of external table definition? Please advice

    Here is the data file I am trying to download...

    KSEA | 08-10 - 2015-17.00.00 | 83.000000 | 32.000000 | 5.800000

    KBFI | 2015-08-06 - 15.00.00 | 78.000000 | 35.000000 | 0.000000

    KSEA | 08-10 - 2015-11.00.00 | 73.000000 | 55.000000 | 5.800000

    KSEA | 08-08 - 2015-05.00.00 | 61.000000 | 90.000000 | 5.800000

    KBFI | 2015-08-06 - 16.00.00 | 78.000000 | 36.000000 | 5.800000

    KSEA | 2015-08-07 - 18.00.00 | 82.000000 | 31.000000 | 10.400000

    KSEA | 08-10 - 2015-00.00.00 | 65.000000 | 61.000000 | 4.600000

    KBFI | 08-08 - 2015-07.00.00 | 63.000000 | 84.000000 | 4.600000

    KSEA | 08-10 - 2015-15.00.00 | 81.000000 | 34.000000 | 8.100000

    This is the external table script

    CREATE TABLE MWATCH. MWATCH. WEATHER_EXT ".

    (

    LOCATION_SAN VARCHAR2 (120 BYTE),

    DATE OF WEATHER_DATETIME,

    NUMBER (16) TEMP.

    NUMBER (16) OF MOISTURE,

    WIND_SPEED NUMBER (16)

    )

    EXTERNAL ORGANIZATION

    (TYPE ORACLE_LOADER

    THE DEFAULT DIRECTORY METERWATCH

    ACCESS SETTINGS

    (records delimited by newline

    BadFile "METERWATCH": "weather_bad" logfile 'METERWATCH': 'weather_log '.

    fields ended by ' |' missing field values are null

    (location_san, WEATHER_DATETIME char date_format DATE mask "YYYY-mm-dd - hh.mi.ss", TEMPERATURE, MOISTURE, wind_speed)

    )

    LOCATION (METERWATCH: 'weather.dat')

    )

    REJECT LIMIT UNLIMITED

    PARALLEL (DEGREE 5 1 INSTANCES)

    NOMONITORING;

    Here is the error in the weather_bad which is generated files...

    column WEATHER_DATETIME of 55 error processing in the 1st row to the /export/home/camsdocd/meterwatch/weather.dat data file
    ORA - 01849ther_log.log 55 56 error processing column WEATHER_DATETIME in the row 1 for the /export/home/camsdocd/meterwatch/weather.dat data file
    5756 ORA - 01849ther_log.log: time must be between 1 and 12
    58column WEATHER_DATETIME 57 error during treatment number 2 for the /export/home/camsdocd/meterwatch/weather.dat data file
    59ORA-58 01849: time must be between 1 and 12
    60column WEATHER_DATETIME of 59 error processing 5th for the /export/home/camsdocd/meterwatch/weather.dat data file
    61ORA-60 01849: time must be between 1 and 12
    62column WEATHER_DATETIME of 61 error treatment in line 6 to the /export/home/camsdocd/meterwatch/weather.dat data file
    63ORA-62 01849: time must be between 1 and 12
    64column WEATHER_DATETIME of 63 error treatment in row 7 for datafile /export/home/camsdocd/meterwatch/weather.dat
    65ORA-64 01849: time must be between 1 and 12
    66column WEATHER_DATETIME of 65 error treatment 9 for the /export/home/camsdocd/meterwatch/weather.dat data file online
    67: time must be between 1 and 12

    My question is - is it possible for me to fix this error at the level of external table definition? Please advice

    Yes it is possible.  Let's not your date mask.  You're masking for 12-hour format when your data is in 24-hour format.  Change the mask of your date to be "YYYY-mm-dd-hh24. MI.ss ".  Notice the change in "BOLD".

  • ORA-01847: day of the month must be between 1 and the last day of the month

    Hi all






    Select
    To_date(mDate||) e '|| mtime, "YYYY-MM-DD HH24MISS") meddate
    of PR_MOCTEST_TEMP

    mDate IS OF TYPE of DATA VARCHAR2 AND mtime OF VARCHAR2

    mDate: 07-09-2009
    mtime: 131241

    mDate IS IN FORMAT DD-MONTH-YYYY
    mtime: HHMMS

    mtimeOF IS OF TYPE of DATA VARCHAR2 AND VARCHAR2 mDate

    mDate: 07-09-2009
    mTIME: 131241

    mDATE IS IN FORMAT DD-MONTH-YYYY
    mTIME: HHMMS

    I NEED TO COMBINE THE 2 COLUMNS TO GET THE OUTPUT AS DD-MM-YYYY HH24MISS
    AND I AM GETTING THE ERROR;


    ORA-01847: day of the month must be between 1 and the last day of the month

    where mistaken?

    Please notify


    Kai

    You will find the bad dates using a table of logging of errors:

    --we'll try to insert into here, invalid dates will be thrown out
    create table dst(d date);
    
    -- create an error log table dst_err
    exec dbms_errlog.create_error_log('dst', 'dst_err');
    
    -- try the insert. Will fail with your ORA-01847
    insert into dst select TO_DATE(mdate||' '||mtime,'DD-MM-YYYY HH24MISS') from PR_MOCTEST_TEMP log errors into dst_err('comment'); 
    
    -- view the errors
    select * from dst_err;
    
  • ORA-01850: time must be between 0 and 23

    Hi techies,.

    We have created a procedure for our daily report.its works well for both location.when we run to a location, we end up with this error.our current NLS_DATE_FORMAT is HH24:MI:SS.but its run successfully when we value nls_date_format = .attendu 'DD-MON-YY' other two (which is the same except for one table where it retrieve data via dblink) is to run correctly with NLS_DATE_FORMAT HH24 : MI: SS.


    ORA-01850: time must be between 0 and 23
    ORA-02063: preceding the line of DW_TO_DIRC. NACALOGISTICS.COM
    ORA-06512: at "OTSLGWEB. DAILY_JOB_PROFIT_REPORT_USA", line 89
    ORA-06512: at line 1

    Sameer_appsdba wrote:
    3. can we add ' alter session set NLS_DATE_FORMAT = 'DD-MON-YY' inside the procedure?

    Yes

    SQL> ed
    Wrote file afiedt.buf
    
      1  create or replace procedure p1_nls as
      2  dt date;
      3  begin
      4  execute immediate('alter session set nls_date_format = ''DD-MON-YYYY''');
      5  select sysdate into dt from dual;
      6  dbms_output.put_line(dt);
      7* end;
    SQL> /
    
    Procedure created.
    
    SQL> alter session set nls_date_format = 'DD-MM-YYYY';
    
    Session altered.
    
    SQL> select sysdate from dual;
    
    SYSDATE
    ----------
    21-07-2011
    
    SQL> set serveroutput on
    SQL> begin
      2  p1_nls();
      3  end;
      4  /
    21-JUL-2011
    
    PL/SQL procedure successfully completed.
    
  • ORA-01849: time must be between 1 and 12

    Hi all



    SELECT SYSDATE FROM DUAL;

    Returns

    MAY 11, 2011 17:33



    SELECT * FROM stables of TIMESTAMP TO_TIMESTAMP (May 11, 2011 14:30 '); Returns

    ORA-01849: time must be between 1 and 12

    Any idea?


    Kai

    Hi, Kai,

    KaiS wrote:
    Hi all

    SELECT SYSDATE FROM DUAL;

    Returns

    MAY 11, 2011 17:33

    SELECT * FROM stables of TIMESTAMP TO_TIMESTAMP (May 11, 2011 14:30 '); Returns

    ORA-01849: time must be between 1 and 12

    Always pass arguments (at least) 2 to TO_TIMESTAMP, like this:

    TO_TIMESTAMP ( '11-MAY-2011 14:30:00'
              , 'DD-MON-YYYY HH24:MI:SS;
              )
    

    The second argument tells TO_TIMESTAMP what format you use. If you don't pass it, then TO_TIMESTAMP will use a default format, which may not be what you want or expect.

  • Using the file class - muse. by default on my computer and not the last used folder.

    Using the file class - muse by default to my computer and not to the last used folder.

    Hello Perri,

    I tested on my end, and it seems that the issue is ongoing because of Air Version 3.8 was last updated. If restore you the version of Air to 3.7 this problem would be fixed.

    Here is the link to the page for the available versions of Adobe Air: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html and you can use this link to download Adobe Air version 3.7:
    http://download.Macromedia.com/air/Win/Download/3.7/AdobeAIRInstaller.exe (Windows)

    http://download.Macromedia.com/air/Mac/download/3.7/AdobeAIR.dmg (Mac)

    Hope this information helps.

    Kind regards

    Fox

  • How the identity if one table used only by synonyms and not by any other subprogrammes in a schema?

    Hi people

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    The ALL_DEPENDENCIES view has hierarchical information based on object_id

    The view object has the object_type.

    Create a hierarchical query on the first view and attach it to the second view.

    Or you can use the utldtree.sql file in the installation of the DB admin folder. Comments initially show you how a hierarchical query based on the object type.

  • Need help in the Ora inventory for patch rolup 5 Apache

    Hi all

    Versions:
    Oracle 11.5.10.2 application
    Database 10.2.0.3
    Application and database are in different servers
    We also have the configuration of the DMZ as external layer for application
    Apache version:
    Server version: Oracle HTTP Server Powered by Apache/1.3.19 (Unix)
    Built-in Server: April 5, 2004 16:17:45 (iAS 1.0.2.2.2 cumulative 4)


    We are applying the Update Rollup 5 for Apache, we do tests, out of production. Since the non-production are cloned from production, we have no inventory ora for non-production. But to apply this hotfix, set the inventory of the ora.

    That is a possibility to clone the ora production non-production inventory, if so can you please provide the steps.

    I've gone through the metalink: 295185.1, these steps can be done if we have individual stocks for all households. But we don't have that.

    Please advice.

    Thank you and best regards,
    Rakesh

    Rakesh,

    You do not need to clone your global inventory, it will be useless for the nodes of your target ORACLE_HOMEs.

    Note: 216664,1 - FAQ: cloning Oracle Applications Release 11i
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=216664.1

    The right way to recreate the world inventory is by following the steps described in the note referenced by you. For inventories, it is automatically copied from the source system to the system target in the copy the ORACLE_HOME himself. Thus, you should have it and you should be able to recreate the global inventory.

    Kind regards
    Hussein

  • How to capture the ORA-01850 hour must be between 0 and 23

    Hello

    The date picker to manually enter any value in the TextField.  Well, if a user between 24:00 for the time, the application will fail. I want to handle the error.  I have an entry of validation, but of course the to_date conversion fails with the above, EXTRACT function also fails... ideas?

    Thank you

    Efren

    Well, can't do you this validation instead of making to_date?

    substr (Trim(:P1_HOURS), 1, 2) > = 0 AND substr (TRIM(:P1_HOURS), 1, 2)<>

  • Log file of NOD32 which can help diagnose the problem with svchost.exe, WScript.exe, mshta.exe and windefender and update please someone help does not!

    HHmmmm bears ok I will answer your questions, but I don't really see the relivence of them for the progs anti, spy, virus, malware are not the problem.

    (1) a little more than two or three weeks ago or not.

    2A) about two weeks ago.

    No. 2B) I don't buy anti progs that do not work. Why would I? He did not set the blocks just prob the random load IE 8 to a maleware site addresses.

    (3) I got the updated version of Avast for almost two years. He simply blocked addresses saying something was trying to use svchost and WScript mshta.exe to attempt to load IE to a maleware site. I disabled Avast but since the installation of NOD32 if she does not interfere.

    (4) I don't remember what I used before I think it's Norton or macafree but I don't know about two years ago, I had the computer taken, wiped and reinstalled windows and they gave me Avast for free.

    (5) Yes, I tried Norton and Macafree, and they do not work to correct the problem. I uninstalled them well and they are no longer on my computer.

    (6) no they were not preinstalled.

    If you're going to ask me to do a system restore it will not help I already tried. Useless program when you can't use it. I tried several times with different dates, even in safe mode. I already ran on Microsoft Live Onecare, MSRT, Fix and MSE. I have spybot, malwarebytes, superantispyware, synematic and have tried them all. Nothing can solve the problem. Now NOD32 blocks the random addresses loading IE but it is very annoying seeing this thing pop up constantly. The only thing that it does not stop is when I use IE occasionally it will load a location for a Wal-Mart gift card, but I've just close it. If I use a different prog or any it constantly blocks the random addresses loading IE. I don't have IE loaded. Yes I have popups blockers, but it does not block another page being loaded on the card gift wlmart site. everything else works well.

    Please don't give me no matter what more links to the help pages for Microsoft because I already looked through them all and tried a lot of useful advice and none have worked. What I really need Bear is a set of instructions on what or the files to search posibly containing a script that gives orders to the system files to try and load IE maleware sites. I need to know where to look, what I'm looking for and how to rewrite or erase the command or script. Probly get rid of some files HKLM or commands too if there are orders as well. I'm sure you'll tell me its probly in both registry keys. in any case if you can help with a set of instructions on how manually enter and take care of the problem that would be great.

    I have seen the manual of instructions on how to repair scvhost.exe but I'll not go messin' and delete this file cause I know that you need so that windows run. I'm sorry for the poor fools who go on Ehow and follow the instructions. in any case if you can help it would be greatly appreciated I don't have the money right now to put this thing in the shop with Christmas around the corner and all. Peace!

    bear oppss sorry I forgot to say of windows has been completely updated in time and yes I was able to connect to windows update and defender update as well before that happens, but now I cannot connect to a, but can connect to anywheree else apparently on microsoft or other juice of sites not not both.

Maybe you are looking for