Oracle 10g Numeric Overflow

Hello, I am getting a Numeric Overflow error when trying to return a NUMBER back to the Java side from within an Oracle package that is inserting a row into a table. The NUMBER being returned is the table ID and is obtained on the Oracle side by using a NextVal. But on the Java side, when I try to call a getInt to get the value returned, I get a Numeric Overflow error. However, the package is inserting correctly into the table and the numbers it is inserting are no bigger than 500, which is more than enough for an Integer. Oddly enough, this problem started occurring when our Linux server was switched to use Oracle 10g drivers. Could that be the issue?

Run ADDM report and PGA advice.

Similar Messages

  • 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.

  • [Macromedia][Oracle JDBC Driver]Numeric overflow

    I am moving from CF 6.1 to CF 9 using Oracle 9i.  I get the following error when I use cfstoredproc to call a procedure in a package: [Macromedia][Oracle JDBC Driver]Numeric overflow.  In spite of throwing the error, the stored procedure seems to execute properly. Has anyone encountered this problem?

    I cannot consistently replicate the problem.  Values that work the first time may not work the second time.  The data is always entered in the database, but sometimes an error message is thrown regardless of the fact that the data was entered into the database. Calling the procedure with PL/SQL works every time.  Here is a dump of the info. from cfcatch:
    The database operation failed.
    Type: Database
    Message: Error Executing Database Query.
    Detail: [Macromedia][Oracle JDBC Driver]Numeric overflow.
    Native Error Code: 0
    SQLState: HY000
    SQL: {call pk_name.proc_name ( (param 1) , (param 2) , (param 3) , (param 4) , (param 5) , (param 6) , (param 7) , (param 8) , (param 9) , (param 10) , (param 11) , (param 12) , (param 13) , (param 14) , (param 15) , (param 16) , (param 17) , (param 18) , (param 19) , (param 20) , (param 21) , (param 22) , (param 23) , (param 24) , (param 25) , (param 26) , (param 27) , (param 28) , (param 29) , (param 30) , (param 31) , (param 32) , (param 33) , (param 34) , (param 35) , (param 36) , (param 37) , (param 38) , (param 39) , (param 40) , (param 41) , (param 42) , (param 43) , (param 44) )}
    Query Error: [Macromedia][Oracle JDBC Driver]Numeric overflow.
    Where:
    (param 1) = [type='INOUT', value='null', sqltype='cf_sql_integer'] ,
    (param 2) = [type='IN', class='java.lang.Integer', value='41014', sqltype='cf_sql_integer'] ,
    (param 3) = [type='IN', class='java.lang.String', value='N', sqltype='cf_sql_char'] ,
    (param 4) = [type='IN', class='java.lang.String', value='N', sqltype='cf_sql_char'] ,
    (param 5) = [type='IN', class='java.lang.String', value='LastName, FirstName ', sqltype='cf_sql_varchar'] ,
    (param 6) = [type='IN', class='java.lang.String', value='12345', sqltype='cf_sql_varchar'] ,
    (param 7) = [type='IN', class='java.lang.String', value='10063', sqltype='cf_sql_varchar'] ,
    (param 8) = [type='IN', class='java.lang.String', value='LastName, FirstName', sqltype='cf_sql_varchar'] ,
    (param 9) = [type='IN', class='java.lang.String', value='(123) 456-7890', sqltype='cf_sql_varchar'] ,
    (param 10) = [type='IN', class='java.lang.String', value='abc_201102_163', sqltype='cf_sql_varchar'] ,
    (param 11) = [type='IN', class='java.lang.String', value='test', sqltype='cf_sql_varchar'] ,
    (param 12) = [type='IN', class='java.lang.String', value='test', sqltype='cf_sql_varchar'] ,
    (param 13) = [type='IN', class='java.lang.String', value='test', sqltype='cf_sql_varchar'] ,
    (param 14) = [type='IN', class='java.lang.String', value='test', sqltype='cf_sql_varchar'] ,
    (param 15) = [type='IN', class='java.lang.String', value='test', sqltype='cf_sql_varchar'] ,
    (param 16) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 17) = [type='IN', class='java.lang.Integer', value='38', sqltype='cf_sql_integer'] ,
    (param 18) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 19) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 20) = [type='IN', class='java.lang.Integer', value='2', sqltype='cf_sql_integer'] ,
    (param 21) = [type='IN', class='java.lang.String', value='EA', sqltype='cf_sql_varchar'] ,
    (param 22) = [type='IN', class='java.lang.String', value='test', sqltype='cf_sql_varchar'] ,
    (param 23) = [type='IN', class='java.lang.String', value='D', sqltype='cf_sql_varchar'] ,
    (param 24) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 25) = [type='IN', value='null', sqltype='cf_sql_varchar'] ,
    (param 26) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 27) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 28) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 29) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 30) = [type='IN', value='null', sqltype='cf_sql_integer'] ,
    (param 31) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 32) = [type='IN', value='null', sqltype='cf_sql_varchar'] ,
    (param 33) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 34) = [type='IN', class='java.lang.String', value='A5E', sqltype='cf_sql_varchar'] ,
    (param 35) = [type='IN', class='java.lang.String', value='B5', sqltype='cf_sql_varchar'] ,
    (param 36) = [type='IN', class='java.lang.String', value='CEJ', sqltype='cf_sql_varchar'] ,
    (param 37) = [type='IN', class='java.lang.String', value='A', sqltype='cf_sql_varchar'] ,
    (param 38) = [type='IN', class='java.lang.String', value='15', sqltype='cf_sql_varchar'] ,
    (param 39) = [type='IN', class='java.lang.String', value='', sqltype='cf_sql_varchar'] ,
    (param 40) = [type='IN', class='java.lang.String', value='ABC DEF - GHI JK', sqltype='cf_sql_varchar'] ,
    (param 41) = [type='IN', class='java.lang.String', value='ABCD EF1234 GHI JK', sqltype='cf_sql_varchar'] ,
    (param 42) = [type='IN', value='null', sqltype='cf_sql_date'] ,
    (param 43) = [type='OUT', sqltype='cf_sql_integer'] ,
    (param 44) = [type='OUT', sqltype='cf_sql_varchar']

  • Cfstoredproc - Numeric Overflow Error - CF8

    I recently upgraded to CF8 and have started having problems
    with cfstoredproc. Here is the code:
    <cfstoredproc datasource="#request.myDSN#"
    procedure="dbo.p_online_password.get_account" >
    <cfprocparam cfsqltype="cf_sql_varchar"
    value="#attributes.email#" type="in" maxlength="50">
    <cfprocparam cfsqltype="cf_sql_bigint" type="out"
    variable="appvars.online_password_id">
    <cfprocparam cfsqltype="cf_sql_varchar" type="in"
    value="#attributes.password#" maxlength="30">
    <cfprocparam cfsqltype="cf_sql_bigint" type="out"
    variable="appvars.account_status">
    <cfprocparam cfsqltype="cf_sql_varchar" type="out"
    variable="appvars.loginmessage" maxlength="500">
    <cfprocparam cfsqltype="cf_sql_bigint" type="out"
    variable="appvars.personid">
    </cfstoredproc>
    Here is the logged dbcall:
    spy(2007/12/27 15:29:58.361)>> Driver Name = Oracle
    spy(2007/12/27 15:29:58.361)>> Driver Version = 3.60.26
    (023731.010811.016225)
    spy(2007/12/27 15:29:58.361)>> Database Name = Oracle
    spy(2007/12/27 15:29:58.361)>> Database Version =
    9.2.0.8.0
    spy(2007/12/27 15:29:58.361)>> OK (Connection[6])
    spy(2007/12/27 15:29:58.361)>>
    Connection[6].setTransactionIsolation(int level)
    spy(2007/12/27 15:29:58.361)>> level = 2
    spy(2007/12/27 15:29:58.361)>> OK
    spy(2007/12/27 15:29:58.361)>>
    Connection[6].isReadOnly()
    spy(2007/12/27 15:29:58.361)>> OK (false)
    spy(2007/12/27 15:29:58.361)>>
    Connection[6].getAutoCommit()
    spy(2007/12/27 15:29:58.361)>> OK (true)
    spy(2007/12/27 15:29:58.361)>>
    Connection[6].prepareCall(String sql)
    spy(2007/12/27 15:29:58.361)>> sql = {call
    dbo.p_online_password.get_account(?, ?, ?, ?, ?, ?)}
    spy(2007/12/27 15:29:58.377)>> OK
    (CallableStatement[1])
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].setObject(int parameterIndex, Object x, int
    targetSqlType)
    spy(2007/12/27 15:29:58.377)>> parameterIndex = 1
    spy(2007/12/27 15:29:58.377)>> x =
    [email protected]
    spy(2007/12/27 15:29:58.377)>> targetSqlType = 12
    spy(2007/12/27 15:29:58.377)>> OK
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].registerOutParameter(int parameterIndex, int
    sqlType)
    spy(2007/12/27 15:29:58.377)>> parameterIndex = 2
    spy(2007/12/27 15:29:58.377)>> sqlType = -5
    spy(2007/12/27 15:29:58.377)>> OK
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].setObject(int parameterIndex, Object x, int
    targetSqlType)
    spy(2007/12/27 15:29:58.377)>> parameterIndex = 3
    spy(2007/12/27 15:29:58.377)>> x =
    spy(2007/12/27 15:29:58.377)>> targetSqlType = 12
    spy(2007/12/27 15:29:58.377)>> OK
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].registerOutParameter(int parameterIndex, int
    sqlType)
    spy(2007/12/27 15:29:58.377)>> parameterIndex = 4
    spy(2007/12/27 15:29:58.377)>> sqlType = -5
    spy(2007/12/27 15:29:58.377)>> OK
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].registerOutParameter(int parameterIndex, int
    sqlType)
    spy(2007/12/27 15:29:58.377)>> parameterIndex = 5
    spy(2007/12/27 15:29:58.377)>> sqlType = 12
    spy(2007/12/27 15:29:58.377)>> OK
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].registerOutParameter(int parameterIndex, int
    sqlType)
    spy(2007/12/27 15:29:58.377)>> parameterIndex = 6
    spy(2007/12/27 15:29:58.377)>> sqlType = -5
    spy(2007/12/27 15:29:58.377)>> OK
    spy(2007/12/27 15:29:58.377)>>
    CallableStatement[1].execute()
    spy(2007/12/27 15:29:58.486)>> java.sql.SQLException:
    [Macromedia][Oracle JDBC Driver]Numeric overflow. ErrorCode=0
    SQLState=HY000
    java.sql.SQLException: [Macromedia][Oracle JDBC
    Driver]Numeric overflow.
    at
    macromedia.jdbc.base.BaseExceptions.createException(Unknown Source)
    at macromedia.jdbc.base.BaseExceptions.getException(Unknown
    Source)
    at macromedia.jdbc.oracle.OracleVNU.convertVNUToLong(Unknown
    Source)
    at
    macromedia.jdbc.oracle.OracleImplStatement.convertAndPropagateOutputParams(Unknown
    Source)
    at
    macromedia.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
    at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown
    Source)
    at
    macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source)
    at
    macromedia.jdbc.base.BasePreparedStatement.execute(Unknown Source)
    at
    macromedia.jdbc.base.BasePreparedStatementPoolable.execute(Unknown
    Source)
    at macromedia.jdbcspy.SpyPreparedStatement.execute(Unknown
    Source)
    at
    coldfusion.server.j2ee.sql.JRunPreparedStatement.execute(JRunPreparedStatement.java:89)
    at coldfusion.sql.Executive.executeCall(Executive.java:860)
    at coldfusion.sql.Executive.executeCall(Executive.java:775)
    at coldfusion.sql.Executive.executeCall(Executive.java:726)
    at coldfusion.sql.SqlImpl.executeCall(SqlImpl.java:445)
    at
    coldfusion.tagext.sql.StoredProcTag.executeQuery(StoredProcTag.java:272)
    at
    coldfusion.tagext.sql.StoredProcTag.doEndTag(StoredProcTag.java:225)
    at
    cfprocGetAccount2ecfm1970365621.runPage(C:\Inetpub\wwwroot\FBARO\model\login\procGetAccou nt.cfm:63)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644)
    at
    cflogin2eloginuser2ecfm500887643._factor72(C:\Inetpub\wwwroot\FBARO\parsed\login.loginuse r.cfm:24)
    at
    cflogin2eloginuser2ecfm500887643._factor80(C:\Inetpub\wwwroot\FBARO\parsed\login.loginuse r.cfm:17)
    at
    cflogin2eloginuser2ecfm500887643._factor81(C:\Inetpub\wwwroot\FBARO\parsed\login.loginuse r.cfm:5)
    at
    cflogin2eloginuser2ecfm500887643.runPage(C:\Inetpub\wwwroot\FBARO\parsed\login.loginuser. cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644)
    at
    cffusebox52ecfm1910112018.runPage(C:\Inetpub\wwwroot\FBARO\fusebox5.cfm:179)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644)
    at
    cffusebox42eruntime2ecfmx2ecfm1434713790.runPage(C:\Inetpub\wwwroot\FBARO\fusebox4.runtim e.cfmx.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644)
    at
    cfindex2ecfm1115026679.runPage(C:\Inetpub\wwwroot\FBARO\index.cfm:28)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at
    coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at
    coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
    at coldfusion.CfmServlet.service(CfmServlet.java:175)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
    coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at
    coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    spy(2007/12/27 15:29:58.486)>>
    CallableStatement[1].close()
    spy(2007/12/27 15:29:58.486)>> OK
    spy(2007/12/27 15:29:58.502)>>
    Connection[6].setAutoCommit(boolean autoCommit)
    spy(2007/12/27 15:29:58.502)>> autoCommit = true
    spy(2007/12/27 15:29:58.502)>> OK
    spy(2007/12/27 15:29:58.502)>>
    Connection[6].setTransactionIsolation(int level)
    spy(2007/12/27 15:29:58.502)>> level = 2
    spy(2007/12/27 15:29:58.502)>> OK
    spy(2007/12/27 15:29:58.502)>>
    Connection[6].setReadOnly(boolean readOnly)
    spy(2007/12/27 15:29:58.502)>> readOnly = false
    spy(2007/12/27 15:29:58.502)>> OK
    Any ideas?
    Thanks,
    Jim

    FYI, there is a table near the bottom of the LiveDocs page
    for the
    cfqueryparam
    tag that "
    shows the mapping of ColdFusion SQL data types with JDBC SQL
    types and those of the listed database management systems".
    (The same mapping applies to the cfprocparam tag as well, and I am
    surprised that they don't have it listed there as well.)
    You will notice that CF_SQL_BIGINT doesn't map to Oracle, and
    that only CF_SQL_DECIMAL and CF_SQL_FLOAT seem to map to Oracle
    type number. However, I use CF_SQL_NUMERIC all of the time with
    Oracle 10g and Oracle type NUMBER with CF7, but I can't speak for
    CF8 since we are still on 7.
    Phil

  • ORA-01722: Invalid number - error only in Oracle 10g?

    While trying to insert a numeric value into a decimal column, I get this error. Hitherto, my update statements used to look fine.
    Can anyone let me know if this enforcement is specific to Oracla 10g? I am running :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Thanks in advance for your help!
    Niranjan

    Well, you've a blank space which isn't a number, that's why you have an error.
    Please see the following example to have a default value :
    SQL> create table tutu (id number, text varchar2(10));
    Table created.
    SQL> alter table tutu modify id default 0;
    Table altered.
    SQL> insert into tutu values (' ', 'NoWork');
    insert into tutu values (' ', 'NoWork')
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> insert into tutu values (null,'NullValue');
    1 row created.
    SQL> insert into tutu (text) values ('Default');
    1 row created.
    SQL> insert into tutu values (1,'NonDefault');
    1 row created.
    SQL> select * from tutu;
            ID TEXT
               NullValue
             0 Default
             1 NonDefault
    SQL> Nicolas.
    Message was edited by:
    N. Gasparotto

  • Problem using template in database configuration assistant Oracle 10g

    Hi,
    I created a database using the database configuration assistant for Oracle 10g on a Windows Server 2003 box. The database I created worked perfectly, and I had saved it as a template so I could save some time when creating similar databases (which I have to do on occasion)
    When I try to use the template though, I get an error (at about 4% through the database creation) saying:
    ORA-01501: CREATE DATABASE failed
    ORA-09314: sltln: error translating logical name
    I'm creating this new database on the same server as the one I created my previous database on and NOTHING has changed on it, I did this just minutes apart and can duplicate it at will (just try and use a template)
    Heres the template file contents (KM1.dbt)
    <DatabaseTemplate name="KM1" description="" version="10.1.0.2.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="false"/>
    <option name="SPATIAL" value="false"/>
    <option name="ODM" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="false"/>
    <option name="XDB_PROTOCOLS" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="false"/>
    <option name="CWMLITE" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    <initParam name="O7_DICTIONARY_ACCESSIBILITY" value="TRUE"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\bdump"/>
    <initParam name="compatible" value="10.1.0.2.0"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\cdump"/>
    <initParam name="db_block_size" value="8" unit="KB"/>
    <initParam name="db_cache_size" value="24" unit="MB"/>
    <initParam name="db_create_file_dest" value="E:\oradata"/>
    <initParam name="db_create_online_log_dest_1" value="C:\Oradata"/>
    <initParam name="db_create_online_log_dest_2" value="D:\Oradata"/>
    <initParam name="db_create_online_log_dest_3" value="E:\Oradata"/>
    <initParam name="db_domain" value="JACOBSONCO.COM"/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    <initParam name="db_name" value="UDC7"/>
    <initParam name="db_recovery_file_dest" value="E:\UDC7\flash_recovery_area"/>
    <initParam name="db_recovery_file_dest_size" value="2048" unit="MB"/>
    <initParam name="java_pool_size" value="0" unit="MB"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="large_pool_size" value="8" unit="MB"/>
    <initParam name="open_cursors" value="1000"/>
    <initParam name="pga_aggregate_target" value="24" unit="MB"/>
    <initParam name="processes" value="150"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="shared_pool_size" value="80" unit="MB"/>
    <initParam name="sort_area_size" value="65536"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\udump"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>40</percentageMemTOSGA>
    <customSGA>true</customSGA>
    <characterSet>WE8MSWIN1252</characterSet>
    <nationalCharacterSet>AL16UTF16</nationalCharacterSet>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\pfile\init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="true">{ORACLE_HOME}\database\spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="&lt;OMF_CONTROL_0>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    <image name="&lt;OMF_CONTROL_1>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    <image name="&lt;OMF_CONTROL_2>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </ControlfileAttributes>
    <DatafileAttributes id="&lt;OMF_SNIKEB_DATAFILE_0>">
    <tablespace>SNIKEB</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">300</size>
    <reuse>false</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">-2</increment>
    <maxSize unit="KB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_SYSAUX_DATAFILE_0>">
    <tablespace>SYSAUX</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">120</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_SYSTEM_DATAFILE_0>">
    <tablespace>SYSTEM</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">300</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_TEMP_DATAFILE_0>">
    <tablespace>TEMP</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">20</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">640</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_UNDOTBS1_DATAFILE_0>">
    <tablespace>UNDOTBS1</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">200</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">5120</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="&lt;OMF_USERS_DATAFILE_0>">
    <tablespace>USER_DATA</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">5</size>
    <reuse>true</reuse>
    <autoExtend>true</autoExtend>
    <increment unit="KB">1280</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <TablespaceAttributes id="SNIKEB">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">-1</initSize>
    <increment unit="KB">-1</increment>
    <incrementPercent>-1</incrementPercent>
    <minExtends>-1</minExtends>
    <maxExtends>-2</maxExtends>
    <minExtendsSize unit="KB">-1</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_SNIKEB_DATAFILE_0>">
    <id>1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSAUX">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_SYSAUX_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSTEM">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>3</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>-1</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_SYSTEM_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="TEMP">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>true</temporary>
    <defaultTemp>true</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>0</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_TEMP_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="UNDOTBS1">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>true</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">512</initSize>
    <increment unit="KB">512</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>8</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">512</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_UNDOTBS1_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="USER_DATA">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">128</initSize>
    <increment unit="KB">128</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">128</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <datafilesList>
    <TablespaceDatafileAttributes id="&lt;OMF_USERS_DATAFILE_0>">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_1_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_2_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">10240</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="OMF_3_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>
    can anyone explain why I keep getting this error?
    Thanks

    Error:     ORA-9314
    Text:     sltln: error translating logical name
    Cause:     Internal buffer may have overflowed
    Action:     See OSD error accompanying this message
    Check alertlog and trace files.
    Message was edited by:
    FeNiCrC_Neil

  • Differences between Oracle 10G Client ODBC from 10.1.x to 10.2.x (datatype)

    What differences where implemented to Oracle 10G Clients ODBC connectivity drivers between 10G Release 1 and Release 2 concerning datatypes?
    I have an application that performs a qualified read returning a group of records (this is successful) and then performs a delete on each record read. No errors occur on completion of the application. When using release 1, the records are physically removed. Using release 2 a portion of the same group of records are not removed. The key for the table is a numeric field with six decimal places (not my design). My applications C code defines the field as a DOUBLE.

    I certainly agree that something changed. The question is whether it was a change in function or not. With a lot of these sorts of errors, tracking down the "source" of the error involves finding a change in a piece of code that allowed what was always possible to actually occur. That is, you may have two pieces of code that are functionally identical but that end up allowing the sorts of "round off" errors that are always possible when using doubles. The driver might, for example, now be going down a code path where it shifts a number to the right or left rather than dividing or multiplying by 2, which may make this sort of thing more likely. Functionally, given that doubles don't guarantee infinite precision, these operations are identical, but one may be significantly more likely to cause problems.
    Is your application using the ODBC API directly? Or is it going through a higher-level API? If you are going through ODBC directly, you might look to see whether the data types that are being returned by the driver to your code are the same across driver versions.
    Justin

  • Oracle 11g- Straing behaviour of query after importing from Oracle 10g

    Hi,
    I have a table in Oracle 10g as follows:
    Create Table xyz (col1 varchar2(50), col2 varchar2(50));
    With following Data
    Col1     Col2
    A     320
    A     110
    A     290
    A     380
    B     ABC
    B     256
    B     LMN
    I am running following Query
    select * from xyz
    Where Col1='A' and Col2=110
    It works fine. But when I export this table and import it in Oracle 11g. It says invlid identifier.
    But if I enclose 110 in single quotes. It works fine.
    Also If I recreate this table in Oracle 11g like
    Create table xyz1
    as select * from xyz;
    Now alos I am able to run this query smoothly.
    select * from xyz1
    Where Col1='A' and Col2=110
    What is wrong exporting this table from 10g to 11g.
    Any comments/suggestion??
    Aarbi

    The check in your where clause
    Col2=110Is comparing a string (Col2 is defined as a VARCHAR) with a numeric literal, so there will be an implicit conversion taking place from character to number. The query then fails due to the B LMN row when 'LMN' fails number conversion.
    I'm guessing there was there an index on the table in your 10g installation which would allow the query to be satisfied without checking the B ABC or B LMN rows but is not present or not used in the 11g installation so a full table scan results in an attempt to convert 'ABC' and 'LMN' to a number. Check the explain plans.
    Or it could even just be a difference in the order in which the two conditions in the where clause are evaulated between the two versions.
    The solution, as you have already found is to do a string comparision
    Col2='110'Edited by: Cyn on Dec 7, 2009 12:38 PM

  • External table in Oracle 10g and Windows server 2003 problem

    I'm having a problem accessing an external table in an Oracle 10g and Windows 2003 server environment. The disk is remote (mapped) to the server. It's the usual access errors, kup-04001 or kup-04063.
    I have the [seemingly] exact same setup in an Oracle 9i and Windows 2000 server environment which works perfectly. Services run as local SYSTEM and SYSTEM has full permissions on the disk. Directories exist and so do the permissions to the directories.
    In the Oracle 10g and Windows 2003 environment, services run as local SYSTEM and SYSTEM has full permissions on the mapped disk. Directories exist and so do the permissions to the directories.
    This obviously effects mappings, deployments, etc.
    Does anyone know if something changed in either the db or the os?
    Thank you,
    Michael

    Thank you for your reply.
    Your proposal is the standard solution. As a matter of fact, that's how it is on my "old" system. Server "A" Oracle services are started by SYSTEM. Server "B" Oracle services are started by SYSTEM and is where the flat files reside. SYSTEM has full permissions on a disk local to Server "B". Database directoriies defined on Server "A" point to Server "B" remote disk. External Tables on Server "A" are defined with directories that point to Server "B" remote (mapped) disk. I have no problems with this configuration.
    I'm having a problem acheiving the same configuration with Oracle 10g and Windows 2003. I guess I'm baffled over the fact it isn't working the same way as my "old" environment. Why shouldn't it? Oracle (and you) want me to start services as a specific user. It shouldn't have to be that way unless something changed in the way the database makes calls to the os or if Microsoft slipped something in with one of it's numerous security patches.

  • We are getting ¿ stored into our Oracle 10g database  (Microsoft fault)

    We are getting ¿ stored into our Oracle 10g database that is using WE8ISO8859P1 character set.
    Problem is caused by the following:
    Microsoft released software (in particularly MS Word) before considering any ANSI or ISO standard (although they claimed so).
    At that time of pioneering graphical interface - they were the standard. Since then things changed. Microsoft initially targeted US marked, however very soon they wanted to expanded to Europe. For that they needed to get standardized character set instead of one initially being in use. Microsoft re-mapped character set in newer applications using Windows-1252 character set which is compatible with ISO-8851-1 (we are using in our Java Web applications). That cleared obstacles to forward on European market, where extended characters are necessary (like in French, Dutch, German languages...)
    What happened with the initial character codes before Microsoft agreed with ISO to standardize characters? Well - Nothing.
    So what are the consequences of that?
    If we are using Microsoft Word document in conjunction with one of the oldest character set (universe) the ice-age character mapping is still there. So when we "cut and paste" the content to another application, characters sets are not mapped anymore. Especially French language "is sensitive to this" The Microsoft character set in Word decimally coded 146 ( ' ) is very often used in French.
    Therefore if the text is generated in MS Word using old character mapping (universe) which we do, and using method of "cutting and paste" we are mismatching character set interpreted by other, newer applications.
    Initially in the MS words (apostrophe) ' had code 191; then later after implementing Windows 1252 character set being moved to code 146 in accordance to ISO. Well ISO threat character coded 191 as ¿. So if you are using MS Word universe character set, ' looks like ' but in newer applications or ISO compatible applications it looks like ¿.
    Can anyone provide me with periodically cleanup routines that replace garbled characters entered by Microsoft applications into Oracle database ?
    Thanks
    Brendon

    A simply update should work.
    SQL> CREATE TABLE CHARTESTING(COLUMN1 VARCHAR2(30));
    Table created.
    Elapsed: 00:00:00.01
    SQL>
    SQL> INSERT INTO CHARTESTING (COLUMN1) VALUES (CHR(191)||CHR(146)||DBMS_RANDOM.STRING('A',5));
    1 row created.
    Elapsed: 00:00:00.01
    SQL> COMMIT;
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> SELECT * FROM CHARTESTING;
    COLUMN1
    ┐ÆTeoqw
    Elapsed: 00:00:00.06
    SQL> UPDATE CHARTESTING SET COLUMN1=REPLACE(COLUMN1,CHR(191),'*');
    1 row updated.
    Elapsed: 00:00:00.00
    SQL> SELECT * FROM CHARTESTING;
    COLUMN1
    *ÆTeoqw
    Elapsed: 00:00:00.00
    SQL>After numerous attempts you will have to trust me that the characters are correct, my sqlplus isn't working for displaying the characters.

  • Numeric overflow error using binary integer

    Hi experts,
    I am facing issue while solving a numeric overflow error. after analyzing we came to know that in the below code BINARY_INTEGER is causing the issue as input is exceeding its range. I tried to replace BINARY_INTEGER by varchar2(20) but its saying
    "Error(580,20): PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported."
    We need to remove this binary_integer. I dont know how to do this. Can anybody give some idea or what code change required here ? thanks in advance. Cheers.. Below is the code,
    ===================================================
       PROCEDURE UpdateCost_
          p_Cost_typ IN OUT NOCOPY CM_t,
       IS
          TYPE ObjektIdTab_itabt IS TABLE OF ObjektId_tabt INDEX BY BINARY_INTEGER;
          v_cost_IdTab_itab ObjektIdTab_itabt;
          v_CM_ID INTEGER := p_Cost_typ.costm.CM_ID;
          BEGIN
                SELECT CAST(MULTISET
                        (SELECT Costwps.CMKostId
                          FROM CM_Pos_r NRPos,
                                CMK_z_r costzpps,
                                CMG_Cost_v Costwps
                          WHERE NRPos.CM_ID = v_CM_ID
                            AND NRPos.SNRId_G = SNRCT.SNRPos.SNRId_G
                            AND costzpps.CM_ID = NRPos.CM_ID
                            AND costzpps.CMSNRPosId = NRPos.CMSNRPosId
                            AND costzpps.Kost_s = Kost.Costnzl.Kost_s
                            AND Costwps.CMKz_Id = costzpps.CMKz_Id
                            AND Costwps.TypCode NOT IN
                                (SELECT kw.TypCode
                                   FROM TABLE(Kost.Kostwt_tab) kw
                        ) AS ObjektId_tabt )
                  BULK COLLECT
                  INTO v_cost_IdTab_itab
                  FROM TABLE(p_Cost_typ.SNR_tab) SNRCT,
                       TABLE(SNRCT.Kost_tab) Kost
             FOR v_i IN 1 .. v_cost_IdTab_itab.COUNT LOOP
                FOR v_j IN 1 .. v_cost_IdTab_itab(v_i).COUNT LOOP
                   DELETE FROM CMG_Cost_v WHERE CMKostId = v_cost_IdTab_itab(v_i)(v_j);
                END LOOP;
             END LOOP;
    END;
    ===================================================

    Thanks for your reply. I tried with INDEX by NUMBER. but oracle says its not a valid use of index by thing. and moreover I also tried with by removing INDEX BY clause. but in that case we are not at all getting any data in for loop. some people says to use extend clause. But again I am not sure How to do so. Can you please let me know code for this.
    I know you are trying to help by you need to STOP telling us what problem you have and SHOW US. Saying 'Oracle says' is useless. Post EXACTLY what code you are using, the EXACT steps you are using to compile that code and the EXACT result that you are getting.
    You also made no comment about the 'overflow' issue. A BINARY_INTEGER (PLS_INTEGER) has a very large range of values:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/datatypes.htm#i10726
    >
    The PLS_INTEGER data type stores signed integers in the range -2,147,483,648 through 2,147,483,647, represented in 32 bits.
    >
    If you are trying to create a collection of more than 2 BILLION of anything you have a serious problem with either WHAT you are trying to do or HOW you are trying to do it. Your 'overflow' issue is more likely a symptom that you are really running out of memory. You should ALWAYS have a LIMIT clause when you do BULK COLLECT statements.
    Also see this section in that doc: SIMPLE_INTEGER Subtype of PLS_INTEGER
    You need to address your LIMIT issue first and then address any other issues that arise from actually executing the code.
    Then see the section 'SELECT INTO Statement with BULK COLLECT Clause' in that doc
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABEIACI
    That section has an example that shows you do NOT need to use an INDEX BY clause to create collections as you are trying to do. So your not 'getting any data in for loop' is NOT related to the lack of that clause.
    That example also shows you that you do NOT use 'extends' when doing BULK COLLECT. The bulk collection automatically extends the collection as needed to hold the entire results (assuming you don't run out of memory for 2 BILLION things).
    Example 12-22 in that same doc shows the proper way to use a double loop and a BULK COLLECT with a LIMIT clause
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABCCJCB
    Here is very simple sample code you can use in the SCOTT schema to understand how the double loop and LIMIT clauses work together.
    >
    The FETCH does a BULK COLLECT of all data into 'v'. It will either get all the data or none if there isn't any.
    The LOOP construct would be used when you have a LIMIT clause so that Oracle would 'loop' back to
    get the next set of records. Run this example in the SCOTT schema and you will see how the LIMIT clause works.
    I have 14 records in my EMP table.
    DECLARE
      CURSOR c1 IS (SELECT * FROM emp);
      TYPE typ_tbl IS TABLE OF c1%rowtype;
      v typ_tbl;
    BEGIN
      OPEN c1;
      LOOP                                                 --Loop added
        FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
            -- process the first 3 max records
           DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
            FOR i IN v.first..v.last LOOP
                DBMS_OUTPUT.PUT_LINE(v(i).empno);
            END LOOP; 
        EXIT WHEN c1%NOTFOUND;
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('All done');
    END;
    In the FOR loop you would do any processing of the nested table you want to do
    and could use a FORALL to do an INSERT into another table.
    >
    I strongly suggest that you modify your code to work with a VERY SMALL set of data until it works properly. Then expand it to work with all of the data needed, preferably by using an appropriate LIMIT clause of no more than 1000.

  • 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.

  • 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

  • Errors in impdp command on oracle 10g database

    Hi,
    could you plz help me to solve below errors which are coming while doing import with impdp command in oracle 10g 10.1.0.4.0 os: Red Hat Enterprise Linux ES release 4
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Job "DCA"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 15:31
    i tried to restart job but the following errors coming
    UDI-00008: operation generated ORACLE error 39078
    ORA-39078: unable to dequeue message for agent KUPC$A_1_20081111155728 from queue "KUPC$C_1_20081111155728"
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2356
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3261
    ORA-06512: at line 1
    thanks in advance

    NAME TYPE VALUE
    streams_pool_size big integer 0
    sga_target big integer 200M
    what could be the value for avoiding errors! thanks in advance

  • Errors in impdp command on oracle 10g database-urget help needed

    Hi,
    could you plz help me to solve below errors which are coming while doing import with impdp command in oracle 10g 10.1.0.4.0 os: Red Hat Enterprise Linux ES release 4
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Job "DCA"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 15:31
    i tried to restart job but the following errors coming
    UDI-00008: operation generated ORACLE error 39078
    ORA-39078: unable to dequeue message for agent KUPC$A_1_20081111155728 from queue "KUPC$C_1_20081111155728"
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2356
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3261
    ORA-06512: at line 1
    thanks in advance

    Can you check Metalink Note 376022.1? Your STREAMS_POOL_SIZE parameter may be too small.
    If you don't have Metalink access, try this :
    sql> alter system set STREAMS_POOL_SIZE=100M scope=spfile;
    sql> shutdown immediate
    sql> startup
    Note : the Portal Applications forum may not be the appropriate forum for this datapump issue. Try one of the database forums as you'll have a wider audience there.

Maybe you are looking for