[Oracle][ODBC][Ora]ORA-01426: numeric overflow

I have a function get data from data base and do some calculating. I call this function from ASP web page. Some times I got the following error. But if I click refresh later. It's ok again. Any ideas?
[Oracle][ODBC][Ora]ORA-01426: numeric overflow

Cause: Evaluation of an value expression causes an overflow/underflow.
Action: Reduce the operands.

Similar Messages

  • ORA-01426: Numeric Overflow During Cube Build (Doc ID 1494869.1)

    Our cube builds starting failing and we received this error after the cube log table sequence reached 32787.
    After recreating the sequence the builds run successfully. This seems to be an unacceptable bug for an enterprise level product.
    I have been unable to find a patch on the Oracle support site for it. Is a patch avaliable?
    COMP_NAME
    VERSION
    OLAP Analytic Workspace
    11.2.0.4.0
    Oracle OLAP API
    11.2.0.4.0
    OLAP Catalog
    11.2.0.4.0

    I found what appears to be a related bug Bug 14627371 - ORA-01426: NUMERIC OVERFLOW DURING CUBE BUILD
    .  This bug is marked as fixed in 12.1 of the database. 
    I think that you may want to pursue this issue with support to see whether this can be back-ported ton 11.2.0.4.0.
    --Ken Chin

  • Error message "ORA-01426: numeric overflow"

    Could somebody please explain with me examples as when you get this error.
    error message "ORA-01426: numeric overflow"
    Thank You for your help.

    You get 1426 when a number, usually from a caclulation, is too big, or too small for Oracle to represent. For example:
    SQL> SELECT POWER(99,99) FROM dual;
    SELECT POWER(99,99) FROM dual
    ERROR at line 1:
    ORA-01426: numeric overflowwhich my calculator tells me is 3.6973E+197
    TTFN
    John

  • ORA-01426: numeric overflow, while migrating "float" values

    When I try to insert a value of *2.58612749363472E302* (originally a "float" in SQL DB) into an Oracle column of type float(126), I get this error "ORA-01426: numeric overflow"
    I tried changing the column type to BINARY_FLOAT, BINARY_DOUBLE, but I still get same error.
    I'm using Oracle SQL Developer (2.1.1.64.45) to migrate a SQL Server 2005 Database to Oracle 11g.
    Do you have any thoughts on this? Or workarounds?
    Thanks in advance.
    Arul

    Arul,
    I have checked the Migration Workbench documentation where it says for float data -
    Oracle® SQL Developer
    Supplementary Information for Microsoft SQL Server and
    Sybase Adaptive Server Migrations
    Release 2.1
    Table 2–2 Data Types in Oracle and Microsoft SQL Server or Sybase Adaptive Server
    NOTE: If you try to migrate
    floating point data greater
    than or equal to 1.0E+126
    then SQL Developer will fail
    to insert this data in the
    Oracle database and1 will
    return an error.This also
    applies to negative values
    less than or equal to
    -1.0E+126.
    So, if I understand it correctly your value of 2.58612749363472E302 is outside this range.
    Regards,
    Mike

  • ORA-01426: numeric overflow when creating job

    Hello,
    When executing the following script to create a job I get the error "ORA-01426: numeric overflow" . When I execute the same script on another database with same version and same configuration I do not get the error and the job is created.
    Can anyone help me out solving this issue?
    Script:
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'insert into dba.dba_logs values (''SGC'',''TRL03'',sysdate,null);
    commit;
    ,next_date => to_date('07-11-2010 02:00:00','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'NEXT_DAY(TRUNC(SYSDATE)+2/24,''SUNDAY'')'
    ,no_parse => FALSE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;
    Database version: 11.2.0.1
    OS: HPUX

    We are planning to migrate to dbms_scheduler, but that's in the future. for now we have this error first to solve.
    We also tried the following with dbms_scheduler and it gives the same error. The strange is that in another database with same version and same OS it works fine.
    BEGIN
    SYS.DBMS_SCHEDULER.CREATE_JOB
    job_name => 'JOB_CLIENTES_IN'
    ,start_date => SYSTIMESTAMP
    ,repeat_interval => 'FREQ=MINUTELY;INTERVAL=10'
    ,end_date => NULL
    ,job_type => 'STORED_PROCEDURE'
    ,enabled => TRUE
    ,job_action => 'JOB_CLIENTES_FTP_IN'
    ,comments => 'Job que carrega os ficheiros de pre-aviso de cliente'
    END;
    ORA-01870: the intervals or datetimes are not mutually comparable
    ORA-01426: numeric overflow
    ORA-01426: numeric overflow
    ORA-06512: at "SYS.DBMS_ISCHED", line 124
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 271
    ORA-06512: at line 2
    Edited by: cibernauta on Nov 4, 2010 12:48 PM

  • Urgent  : ORA-01426: numeric overflow on oracle 11g  Active Data Guard

    Hi
    I have configured Active Data Guard on oracle 11g, for reporting purpose we will select mutliple querry on target side(10 users). we are getting 'numeric overflow erro'r on alert log file When we issuing multiple query on target side. PLeae let me know is this error will cause performance degrad. if it will degrade performance mean please tell me how to resolve this problem. Why the numeric overflow is comming . and it is not comming in the primary database, it is comming in standby database only. please any one help it is very urgent
    is there any parameter To overcome this problme
    Please please it is very important to me and very urgent .
    Thanks
    nafees
    Edited by: Nafees on Jan 1, 2009 3:44 AM
    Edited by: Nafees on Jan 1, 2009 3:54 AM

    There is no one drowning.
    Your house is not on fire.
    The volcano has not exploded.
    Please apologize for abusing this forum by claiming your issue is more urgent than other people's requests.
    Then, and only then, should anyone help you. I know I certainly won't until I read your sincere apology and promise not to be abusive in the future.

  • Error ORA-01426: numeric overflow when Creating table with double data type

    Hi,
    I am using ODP.NET to create a table with data from SQL to Oracle. The problem is with double data type fields that is equivalent to FLOAT(49) in Oracle. My syntax is:
    CREATE TABLE SCOTT.ALLTYPES
    F1 NUMBER(10),
    F10 DATE,
    F2 NUMBER(10),
    F3 NUMBER(5),
    F4 NUMBER(3),
    F5 FLOAT(23),
    F6 FLOAT(49),
    F7 NUMBER (38,5),
    F8 NVARCHAR2(500),
    F9 NVARCHAR2(500)
    Th error is with field F6 but I am not sure what is the correct type equivalent to double in SQL.
    I woul appreciate if anyone can help me with this problem.
    Sunny

    Does this simple test work for you?
    In database:
    create table float_test
      f1 float(49)
    );C# code:
    using System;
    using System.Data;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace FloatTest
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
          // connect to local db using o/s authenticated account
          OracleConnection con = new OracleConnection("User Id=/");
          con.Open();
          // will hold the value to insert
          StringBuilder sbValue = new StringBuilder();
          // create a string of 49 number 9's
          for (int i = 0; i < 49; i++)
            sbValue.Append("9");
          // command object to perform the insert
          OracleCommand cmd = con.CreateCommand();
          cmd.CommandText = "insert into float_test values (:1)";
          // bind variable for the value to be inserted
          OracleParameter p_value = new OracleParameter();
          p_value.OracleDbType = OracleDbType.Double;
          p_value.Value = Convert.ToDouble(sbValue.ToString());
          // add parameter to collection
          cmd.Parameters.Add(p_value);
          // execute the insert operation
          cmd.ExecuteNonQuery();
          // clean up
          p_value.Dispose();
          cmd.Dispose();
          con.Dispose();
    }SQL*Plus after executing above code:
    SQL> select * from float_test;
            F1
    1.0000E+49
    1 row selected.- Mark

  • Unexpected Numeric Overflow on empty tables when scanning with DMU

    I have an instance of oracle running on an isolated network (oracle 11.2.0.3), on a Windows Server 2008 r2, x64 dell R705 server
    When using the DMU to scan tables, I get the following error:
    ORA-01426: numeric overflow
    DBMS_DUMA_INTERNAL: line 8
    DBMS_DUMA_INTERNAL: line 43
    at line 1
    I get his on multiple tables, but in each case, the table is empty (0 rows)
    Can I safely ignore this?  How do I get DMU to ignore the errors and continue?
    Thanks in advance.

    The fix for bug 8743409 is not included in the 11.2.0.1 release. Please check the DMU supported configurations. In order to use DMU on any versions of the database before 11.2.0.3, you need to apply a prerequisite server-side patch on one of the supported configurations. If you can upgrade to 11.2.0.3, there is no need to apply additional patches and the aforementioned fix is included.

  • Numeric overflow with DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE

    Hello all-
    I'm running Oracle 9i on WinXP sp. 2.
    I'm trying to create a CDC table with the standard SYS package and am getting a numeric overflow error. The code I'm attempting to execute is this:
    BEGIN
    sys.dbms_cdc_publish.create_change_table(
    OWNER => 'CDC_USER',
    CHANGE_TABLE_NAME => 'PA_BUDGET_ENTRY_METHODS',
    CHANGE_SET_NAME => 'SYNC_SET',
    SOURCE_SCHEMA => 'PA',
    SOURCE_TABLE => 'PA_BUDGET_ENTRY_METHODS',
    COLUMN_TYPE_LIST => 'BUDGET_ENTRY_METHOD_CODE VARCHAR2(30)',
    CAPTURE_VALUES => 'NEW',
    RS_ID => 'N',
    ROW_ID => 'Y',
    USER_ID => 'Y',
    TIMESTAMP => 'Y',
    OBJECT_ID => 'N',
    SOURCE_COLMAP => 'N',
    TARGET_COLMAP => 'N',
    OPTIONS_STRING => NULL);
    END;
    The error I'm getting is this:
    ORA-01426: numeric overflow
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 299
    ORA-06512: at line 2
    This happens every time, regardless of the source table i'm trying to capture changes for.
    Clearly this is a normal exception (i.e., not only thrown in the CDC packages) so I'm having a hard time figuring out what it could be. Anyone out there familiar with CDC have any thoughts?
    Thanks in advance,
    James

    I tried that but no luck yet, also tried put all in a single line, but the same error. It doesn't something tricky here, but actual problem with package. "ddl_markers" is new to 11g and not much documentation is available on that.
    Also setting ddl_markers=N removed 3 columns from Publisher table, and the effect of it on Subscriber's view is still a gray area,

  • Numeric overflow error in proc

    hi guys
    while executing below proc i am getting error numeric overflow at lineno 36.. please help me.
    ORA-01426: numeric overflow
    Thanks & Regards
    ************************************Proc Code******************************************************
    create or replace PROCEDURE proc_tab1 IS
    V_Rlt varchar2(4);
    cursor c1 is
    select a.ref,b.key_ref from a,b where a.ref(+) = b.ref;
    cursor c2 is
    select x.id||x.dt_key, x.d_value from x, y
    where y.s_ref = 'ML21' and y.id = 'RT' and x.f_ref = y.s_ref;
    type curr is table of c1%rowtype;
    c_table curr;
    type curr2 is table of c2%rowtype;
    c2_table curr2;
    begin
    open c1;
    loop
    fetch c1 bulk collect into c_table;
    exit when c1%NOTFOUND;
    end loop;
    open c2;
    loop
    fetch c2 bulk collect into c2_table;
    exit when c2%NOTFOUND;
    end loop;
    for i in 1..c_table.count
    loop
    if c2_table.exists(c_table(i).ref||c_table(i).key_ref)---after concat value length is 16
    then
    v_rlt := c2_table(c_table(i).ref||c_table(i).key_ref).d_value;
    else
    v_rlt :='R';
    end if;
    insert into tab1 (ref,rlt) values(c_table(i).ref,v_rlt);
    end loop;
    end;

    lineno 36can you please highlight which is the exact line where you get the error?
    Please post your code using ** tags.                                                                                                                                                                                                                                                                   

  • Function - numeric Overflow error

    Dear All,
    I have a function that is causing a ORA-01426: numeric overflow error
    My values from the variables are as follows
    v_highest_Uprn is 10033233499
    v_start_uprn is 10033223500
    Any ideas how to fix this. Thanks in advance.
    FUNCTION get_next_uprn RETURN NUMBRT IS
    /* Loop through numbers betweeen the next_uprn and the highest in the active range. */
    /* Check to see if the new uprn exists in the database , if no rows returns then return the new uprn. */
    v_start_uprn NUMBER;
    v_highest_uprn NUMBER;
    v_uprn_exists NUMBER;
    v_new_uprn NUMBER;
    BEGIN
    SELECT next_uprn ,
    highest_uprn
    INTO v_start_uprn,v_highest_uprn
    FROM PD_PROPERTY_NUMBERS
    WHERE active_sequence = '*';
    v_new_uprn :=v_start_uprn ;
    FOR rec IN v_start_uprn..v_highest_uprn LOOP
    IF v_new_uprn > v_highest_uprn THEN
    Bs7666_Standard.bs7666_error(35635);
    END IF;
    SELECT uprn INTO v_uprn_exists
    FROM PD_BLPUS
    WHERE uprn = v_new_uprn;
    v_new_uprn := v_new_uprn + 1;
    END LOOP;
    RETURN v_new_uprn;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN v_new_uprn;
    END get_next_uprn;

    Hi
    The loop control variable in a FOR loop is an integer (or similar) it seems; those numbers are simply too big for it.
    Change your code to something like:
    FOR rec IN 1 .. v_highest_uprn - v_start_uprn + 1 LOOP
    Luis

  • Function  giving numeric overflow

    When i call this function with parameter-
    6244628707
    i get this error-numeric overflow.
    CREATE OR REPLACE FUNCTION TATA_ICR.isprime (p_number NUMBER)
    RETURN NUMBER
    IS
    BEGIN
    IF p_number = 3 or p_number=1
    THEN
    RETURN 1;
    END IF;
    FOR i IN 3 .. p_number - 1
    LOOP
    IF MOD (p_number, i) = 0
    THEN
    RETURN 0;
    END IF;
    END LOOP;
    RETURN 1;
    END;
    /

    Well, see the example and read the documentation!.
    SQL> BEGIN
      2   --The limit of BINARY_INTEGER/PLS_INTEGER is 2,147,483,647
      3   FOR i IN 1..2147483648 LOOP --1 added to the upper limit.
      4    NULL;
      5   END LOOP;
      6  END;
      7  /
    BEGIN
    ERROR at line 1:
    ORA-01426: numeric overflow
    ORA-06512: at line 3
    SQL> This is something do with this statements in the documentation
    indexName for the implicitly declared integer variable that is local to the FOR LOOP statement. Statements outside the loop cannot reference index. Statements inside the loop can reference index, but cannot change its value. After the FOR LOOP statement runs, index is undefined.

  • Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170:

    Hi all,
    I have an Windows XP OS with SP3.
    I have installed the Oracle 11g server.
    On trying to connect to the ODBC connection, i get the following error message:
    Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170: TNS: Connect timeout occured
    On trying the tnsping,
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 09-OCT-2
    011 13:11:05
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    E:\app\Gautam\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
    5.207)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl))
    TNS-12535: TNS:operation timed out
    On trying to connect with SQL Developer, i get the following error:
    Status: Failure - Test failed: Io Exception: The Network Adapter could not establish the connection
    However i am able to connect to the same using SQL Plus
    Another issue that occurs is that the Oracle Enterprise Manager shows the following error after a while:
    Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    The following services are all up during this point of time:
    OracleDBConsoleorcl
    OracleOraDb11g_home1TNSListener
    OracleServiceORCL
    Any help in this regard will be very useful as this is hindering the progress of my work.
    Thanks in advance for the help.
    - Gautam

    841683 wrote:
    Hi,
    I did try and delete my listener.ora and then create a new one..
    That did not solve my issue..
    What are the steps for configuring the listener again.
    Thanks for the response..
    - Gautamno listener.ora file is required.
    just do as below
    lsnrctl start

  • [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied

    ---cmd prompt------------------------
    H:\>sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.3.0 - Production on Sun Mar 28 16:54:53 2010
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    -------------ASP -------------------------
    <%@ Language="JScript" %>
    <%
         var uname=Request.Form("un");
         var upwd=Request.Form("pwd");
         Response.Write("User Name is " + uname + "<br>" + "password is " + upwd);
         var sql = "select * from emp";
         var conn = Server.CreateObject("ADODB.Connection");
         var rs = Server.CreateObject("ADODB.Recordset");
         conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
         rs.Open(sql, conn, 3, 3);
    %>
    ------------------Error------------------
    User Name is scott
    Password is tiger
    Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
    [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    /prc/main.asp, line 11
    variable uname has valid username that is 'scott' and variable upwd as valid password ie 'tiger' both entered by the user.
    with the same username and password i am able to connect to the database from the command prompt.
    but when i tried using odbc through ASP(javascript) i am getting above error.
    and one more thing if i mention username and password directly in UID and PWD it works but when i pass it through variables it wont work.
    since variables have username and password it has to take from it directly...........manually i cant give,dynamically it has to take.
    plz help me out....how i can pass the parameter to that UID and PWD.
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
    help plz
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';"; --- does not work
    conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID=scott;PWD=tiger;"; --- works
    but i want the 1st statement to work........since user gives the password and username dynamically.
    Thanks
    Veeresh S

    conn.Open("DSN=tcp;UID="+uname+";PWD="+upwd+";");
    this solved me
    thanks for all who had vied this..
    veeresh

  • Unable to connect SQLState=08004 Oracle ODBC Ora-12154

    Hi Sir/Madam,
    I am Wayne, I need your help to resolve my issue in oracle database 11g.
    1. I installed Oracle 11g Personal Edition, Release 11.2.0.10, 64bits,
    2. Test connection(oracle in oradb11g_home1) is successed in data source, odbc,
    2. Then, I tried to connect this with Visual Basic(Visual Studio 2010), data connections, add connections, .net framework data provider for oracle,
    3. but I received an error message as "Attempt to load Oracle client libraries threw BadImageFormatException."
    4. Then, I download the ODAC(11.2.0.3.0) for 64bits, and installed,
    5. I tried to test the connection, but failed with error message as stated above,
    "Unable to connect SQLState=08004 Oracle ODBC Ora-12154: TNS:could not resolve the connect identifier specified"
    Could you please give me a help on this, do I need to install ODAC for 11g Personal Edition ? Please advice accordingly, thanks.

    Hi;
    Please review:
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2309520
    http://stackoverflow.com/questions/206055/oracle-ora-12154-tns-could-not-resolve-service-name-error
    Regard
    Helios

Maybe you are looking for

  • How do you transfer songs,apps and photos from one IPod 4G to another IPod 4G?

    I got a new IPod 4G for christmas and I want to transfer all my apps,photos, songs and everything from my old one to my new one. The old IPod is a 8GB and it's storage is full and my new IPod is a 32GB. Help me please!?!?!?!?

  • I bought a used imac & need to re-install Lion, must I really purchase -MY OWN- copy?

    I bought an iMac used about a year ago from a guy who didn't like using a Mac.  I am trying to recover from the new second time that Lion has corrupted my filesystem willy nilly.   The first time I brought it into the apple store as I thought the dis

  • Quicktime jumps with 60 fps

    I have a whole bunch of 1080p high resolution footage taken in 60 frames per second and when I play it in quick time it jumps... the audio runs smoothly but the video jumps as if its playing every other frame like quicktime isn't recognizing that the

  • Oracle.exe has stopped working

    I am trying to run the orion load manually on Win2k8 machine.I have installed Orion 10.2. When given the command manually i get the error as: Oracle.exe has stopped working. Can anybody help me with resolving this?

  • Installing Classic on Mac OS 10.3.9

    I need to install Classic (OS 9) on my 10.3.9 system. As for now I only have Os X installed. I have tried to install OS 9 from my original CD "Restore program", but didn't succed. Anybody knows how to do it? Is it possible? I really need to open a ol