ORA-24335 - cannot support more than 1000 columns - How to solve this?

Hi,
I got error message 'ORA-24335 - cannot support more than 1000 columns ' when i try to insert x no of rows for a table with following code:
INSERT ALL
INTO tableA Values ('A', 'B', 'C', 1, 2, 3)
INTO tableA Values ('D', 'E', 'F', 4, 5, 6)
INTO tableA Values ('G', 'H', 'I', 7, 8, 9)
SELECT *
FROM DUAL
How to solve above?
What does it really mean? It's not as easy as if my table has 10 columns than I can't insert more than 100 rows (1000 columns divided with 10 columns = maximun 100 rows to insert), or?
Is there a better/more appropriate way to do insert many rows?
Should I do my inserts with an OracleTransaction (My application is developed with C# and asp.net), as ~follows
BEGIN
INSERT INTO tableA Values ('A', 'B', 'C', 1, 2, 3)
INSERT INTO tableA Values ('D', 'E', 'F', 4, 5, 6)
INSERT INTO tableA Values ('G', 'H', 'I', 7, 8, 9)
COMMIT
END
Thx in advance!
Edited by: user8819407 on 2010-mar-07 15:40

Hi,
So how did you solve the problem? Can you please give an example?
I have the same problem inserting over 1000 values into my Oracle DB. The table only has 51 columns but to speed up the insert command, I use bulk inserts via insert all command. I need to insert 100 rows at a time for a total of 5100 values.
Example:
SQLCmd = INSERT ALL INTO MYTABLE (VAL_ID,VAL_NAME,VAL_NUM,VAL_TIME,VAL_CMM,VAL_TIME1,VAL_TRIP,VAL_REMAINING,VAL_AGE,VAL_COUNT,VAL_RSTS,VAL_VOLT,VAL_RF,VAL_DC,VAL_HOPS,VAL_STATUS,VAL_ELAPSED,MODIFY_TIME) VALUES (?,?,?,TO_DATE(?,?),?,TO_DATE(?,?),?,?,?,?,?,?,?,?,?,?,?,SYSTIMESTAMP)
INTO MYTABLE (VAL_ID,VAL_NAME,VAL_NUM,VAL_TIME,VAL_CMM,VAL_TIME1,VAL_TRIP,VAL_REMAINING,VAL_AGE,VAL_COUNT,VAL_RSTS,VAL_VOLT,VAL_RF,VAL_DC,VAL_HOPS,VAL_STATUS,VAL_ELAPSED,MODIFY_TIME) VALUES (?,?,?,TO_DATE(?,?),?,TO_DATE(?,?),?,?,?,?,?,?,?,?,?,?,?,SYSTIMESTAMP)
INTO MYTABLE (VAL_ID,VAL_NAME,VAL_NUM,VAL_TIME,VAL_CMM,VAL_TIME1,VAL_TRIP,VAL_REMAINING,VAL_AGE,VAL_COUNT,VAL_RSTS,VAL_VOLT,VAL_RF,VAL_DC,VAL_HOPS,VAL_STATUS,VAL_ELAPSED,MODIFY_TIME) VALUES (?,?,?,TO_DATE(?,?),?,TO_DATE(?,?),?,?,?,?,?,?,?,?,?,?,?,SYSTIMESTAMP)
INTO MYTABLE (VAL_ID,VAL_NAME,VAL_NUM,VAL_TIME,VAL_CMM,VAL_TIME1,VAL_TRIP,VAL_REMAINING,VAL_AGE,VAL_COUNT,VAL_RSTS,VAL_VOLT,VAL_RF,VAL_DC,VAL_HOPS,VAL_STATUS,VAL_ELAPSED,MODIFY_TIME) VALUES (?,?,?,TO_DATE(?,?),?,TO_DATE(?,?),?,?,?,?,?,?,?,?,?,?,?,SYSTIMESTAMP)
SELECT 1 FROM DUAL
SQLVals = 1 22C38299 80700334 04-19-2012 13:55:33 mm-dd-yyyy hh24:mi:ss MCC93000 04/19/2012 13:55:42 mm-dd-yyyy hh24:mi:ss 12 4 0.792191 23 1 0.00 -113.50 13.48 9 1 9
1 36PR7038 8070EDC2 04-19-2012 12:24:35 mm-dd-yyyy hh24:mi:ss MCC60360 04/19/2012 12:24:41 mm-dd-yyyy hh24:mi:ss 7 4 0.757501 3 2 13.88 -114.80 14.06 5 1 6
1 42C63512 8050166F 04-19-2012 16:02:50 mm-dd-yyyy hh24:mi:ss MCC52420 04/19/2012 16:02:57 mm-dd-yyyy hh24:mi:ss 10 4 0.778471 8 1 0.00 -122.30 13.05 8 1 7
1 33MR3076 80803E75 04-19-2012 13:13:16 mm-dd-yyyy hh24:mi:ss MCC60330 04/19/2012 13:13:22 mm-dd-yyyy hh24:mi:ss 13 5 0.636721 28 3 0.00 -122.19 0.70 8 1 6
Then I call: &DBInsert($sqlCmd, @sqlVals);
This is the error I get: ORA-24335: cannot support more than 1000 columns.
I need to insert about 879,500 rows (51 cols per row). The values I read from a text file in sets of about 48,000 and put them into a hash. I tried inserting one row at a time, but it takes too long, about 28 hrs! Then, I tried the bulk update with only 6 rows and the total time was about 25 minutes. Which is acceptable to us.
Thanks!

Similar Messages

  • ORA-01776: cannot modify more than one base table through a join view

    I have created EO based on a database view than consists of two tables, and only one is updateable.
    When I try to update a row using EO, I got a following message: "ORA-01776-cannot modify more than one base table through a join view"
    In Forms, this issue is resolved by setting "Query Only" property of non-updateable items to "True".
    Is it possible to do something like that in ADF BC?
    Thanks

    Thanks for answer.
    When I set "updateable" property to "Never", that attribute is protected from any change.
    I'm sorry for incomplete usecase.
    I have set up a list of value on that attribute, because it is a lookup field for another table and I need to get an ID from that table.
    Basically, I need that attribute to be updateble for BC, but not for database.
    Edited by: MarioK on Oct 13, 2011 9:28 AM

  • More than 1000 columns

    In which database i can create more than 1000 columns in a table

    Hi.
    I can´t imagine a problem in the real life where you need such number of columns.
    I can´t imagine how you will administer such object.
    I think that you don´t know the database normalization concept.
    There are a lot of documentation out there about this concept, search in the web "database normalization" and take a minute for reading.
    Regards.
    Daniel
    [If you think my writing is bad, you must listen to me speaking! ;-) ]

  • HT204266 I tried to buy credits from a game I am playing but using visa card it was accepted once then all are rejected asking me to go to iTunes support but nothing there. How to solve this problem.

    I tried to buy credits from a game I am playing using visa card it was accepted once then all are rejected asking me to go to iTunes support but nothing there.
    How to solve this problem?

    You need to email iTunes Store Support. Click or tap  on Purchases, Billing and Redemption in here....
    https://expresslane.apple.com/Issues.action

  • When trying to do updates via App Store I got the message "Kan inte ansluta till iTunes Store" in english "Cannot connect to iTunes Store". How to solve this problem?

    When trying to do updates via App Store I got the message "Kan inte ansluta till iTunes Store" in english "Cannot connect to iTunes Store". How to solve this problem?

    Efter att ha försökt att använda annat wifi fick jag samma problem dvs. kunde fortfarande inte göra uppdatering av mina appar. Jag prövade att ta bort flera stycken av dessa men det var ingen skillnad. På resa med ytterligare ett annat wifi lyckades det helt plösligt, vet inte varför. Får se om det blir samma problem nästa gång jag blir uppmanad att uppdatera appar.

  • Cannot Enter more than 1000 partners in Customer master data(Partner Funct)

    Dear Friends,
    In Customer Master Data  -> Sales Area Data -> Partner Functions-> I can able to enter 1000 partners.
    Now When I am trying to enter more than 1000 partners, system is not allowing me(no lines are available to enter partner)
    According to my requirement I have to enter another 500 partners(business requirement)
    Please suggest me how can I able to enter more than 1000 partner in customer master.
    Quick reply will be  appreciated and rewarded.
    Thank you

    Hello,
    It is very clear that, unless you change the Data element for KNVP-PARZA, the system will not allow you to maintain morethan 999 partner functions for a cusotmer master.
    This is very exceptional case and I handled the situation in my project with the Duplication of customer master data for Sold to party and maintained the remaining partner functions over there.
    Please check with  your Business/ Architect team whether they allow this. As an alternative, they have to go with duplication of sold to party for the maintanance of additional ship to parties.
    OR
    Should go for char length changes for data element KNVP-PARZA (NOT RECOMENDED).
    Hope it helps. Let me know if not.
    Thanks,
    Ram.

  • Handeling more than 1000 columns in where clause

    Hi,
    I am using oracle 9i. We are creating a select query and adding where clause at runtime.
    The no of clolumns in where clause depends on the results from another enterprise app. There may be any no of columns from 0-N. Till 1000 columns every thing works fine but when it goes beyond 1000 it gives the following error:
    ERROR:
    java.sql.SQLException: ORA-01795: maximum number of expressions in a list is 100
    0
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2321)
    at oracle.jdbc.oci8.OCIDBAccess.parseExecuteDescribe(OCIDBAccess.java:12
    55)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
    a:2391)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:2672)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
    572)
    Please help.
    Thanks in advance.

    Thanks Archana,
    You are right.
    I think i have not framed my question right.
    Actually its problem with "IN", which i am using in where clause. It working properly till 1000 expressions like "select * from foo where fooid in (n0,n1,n2......,n1000)".
    But throwing exception once the count increases to 1000 like
    "select * from foo where fooid in (n0,n1,n2......,n1000,n1001,n1002)".
    Thanks,
    Mukesh

  • RV042G cannot support more than 2-3 IPSec Pass through connections

    Hi,
    I'm trying to figure out what the max number of IPSec VPN pass through connections the RV042G can handle.  We bought an RV042G router to replace our old RV042 box which was running into connection limitations.  There are approximately 15 people in the office and anywhere from 5-8 of them need to vpn to a single client site.   There seems to be an issue with UPNP where it creates the proper port forwarding but doesn't associate it with an internal IP address.  Giving each workstation a static internal IP doesn't solve this issue.  The remote site we are connecting to does have NAT-T turned on.  What ends up happening is that after a while, users cannot vpn.  Sometimes it happens with fewer than three users.  Clearing the UPNP and rebooting the router helps but eventually if you connect and disconnect, a few times, you're hosed.   The UPNP doesn't release the setting it makes in a timely fashion.  Is there any way to fix this besides turning off UPNP which we need for other software to work?

    Lenovo support (for me in Canada at least) is based in Atlanta, so I'm surprised you found a tech with bad English...
    Your problems sound like windows problems, not hardware problems -- are you running XP or Windows7? If you google based on your OS, there are threads to be found on slowing down the start menu behaviors.

  • ALV grid display with more than 1000 columns

    Hi Friends,
    I have to prepare a report output which have 1015 columns.
    User will give 100 weeks of data to retrieve. I have to display the output in day wise.
    100*7 + 315 = 1015 columns.
    I am using ALV grid display for this in 4.6C.
    My Question is, whether I have to declare the output table type with 1015 fields.?
    Is there any other way to do this, without declaring 1015 cloumns.
    Please guide me to solve this.
    Regards,
    Viji.

    I'm thinking when your End-user will press Ctrl + P feeding A4 size to printer
    Thomas:
    Maybe the functional consultant is pulling your leg?
    May be OP is pulling our legs or something further?
    Cheers

  • REQUEST RUNNING FOR MORE THAN ONE DAY - HOW INVESTIGATE ABOUT THIS

    Hi Everyone ...
    As you know when you submit any request throigh concurrent manager . The request completed normal or give warning or error .
    My probelm I have request running for more than one day .but I don't know right tool how invetigate about this issue .
    I checked alert log and database lock but nothing wierd .
    We are using 11.5.10.2 with 10.2.0.4 DB .
    Thanks in advance ...
    Edited by: user12010537 on 26/09/2010 05:39 ص
    Edited by: user12010537 on 26/09/2010 05:46 ص

    Hi,
    schavali wrote:
    Use MOS Doc 735119.1 (How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running) to determine the PID of the concurrent request, then follow the steps identified in MOS Doc 1058210.6 (How to Enable SQL_TRACE for Another Session or in MTS Using Oradebug)
    enable tha trace
    Re: enable tha trace
    Thanks,
    Hussein

  • Table with more than 1000 columns

    I need to store data from an equipment that logs 1500 parameters every minute. The natural approach would be to create a table where the first column stores the timestamp and the remaining columns the values sampled:
    CREATE TABLE parameters (
    sample_date date,
    param1 float,
    param2 float,
    param1500 float
    However, since there is a limitation of "just" 1000 coluns in Oracle, the table was designed as follows:
    CREATE TABLE parameters (
    sample_date date,
    param_id number(4),
    value float
    An auxiliar table stores the valid parameters and their ids.
    This works fine to store information, however it is very difficult to select data in a natural way.
    There are situations where we just need to make a report using a few columns out of the 1500 available. Is it possible to create a view that would make the way we designed the table transparent? Let's say we just need to make a report using params 1,2 and 4. How can we create a view that would return all parameters of a sample in a single row:
    sample_date param1 param2 param4
    just as if we had the parameters stored in individual columns?
    Marco

    Not a very efficient and space friendly design to do name-value pairs like that.
    Other methods to consider is splitting those 1500 parameters up into groupings of similar parameters, and then have a table per group.
    Another option would be to use "vertical table partitioning" (as oppose to the more standard horizontal partitionining provided by the Oracle partition option) - this can be achieved (kind of) in Oracle using clusters.
    Sooner or later this name-value design is going to bite you hard. It has 1500 rows where there should be only 1 row. It is not scalable.. and as you're discovering, it is unnatural to use. I would rather change that table and design sooner than later.

  • HT4235 In trying to sync I get the message cannot find ipod!  Any clues how to solve this?

    I am tyring to sync my ipod but i am getting the message -  Idpod cannot be synced becasue it  cannot be found - I did the diagontics test and all is ok.  Any clues? 

    The -50 error is documented in this article:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    Here is a synopsis:
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.

  • Can columns be more than 1000 in a select query (oracle 11 g)

    I am getting this error: "ORA-01792: maximum number of columns in a table or view is 1000"
    I have a dynamic query where number of column can increase according to the user input.
    They can expect more than 1000 columns. Is it possible to fetch more than 1000 rows in a query?
    I appreciate all your help.
    Edited by: user10232912 on Apr 26, 2012 2:07 AM

    >
    They can expect more than 1000 columns.
    Then they are idiots. IMO.
    Open challenge. Show me an entity with a 1000 attributes and I will show you a flawed data
    model and a total lack of grasping fundamentals of implementing that into a relation database product like Oracle.I second that - as someone who once had to ETL a system which had a table with 35.000 fields - that's 35K.
    It was a system which made extensive use of arrays - and arrays of arrays of arrays...
    Paul...

  • Cisco AP 1252AG Cannot setup More than 54Mb/s speed in radio 0 (2.4G)

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:SimSun;
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    I have a problem when I configure CISCO AP 1252, it cannot support more than 54Mb/s speed but support 802.n which speed can up to 300Mb/s. See below :
    here is dot11radio 0 speed option: (The MAX speed is 54Mb/s by manually, how can i setup more than 54Mb/s, because of this AP support 802.n. So the speed should be more than 54M/s, like 300M)
    AP#sho inter dot11Radio 0
    Dot11Radio0 is up, line protocol is up
       Hardware is 802.11N 2.4Ghz Radio, address is *************
       MTU 1500 bytes, BW 54000 Kbit, DLY 1000 usec,
    AP(config)#inter dot11Radio 0
    AP(config-if)#speed ?
       1.0         Allow 1.0 Mb/s rate
       11.0        Allow 11.0 Mb/s rate
       12.0        Allow 12.0 Mb/s rate
       18.0        Allow 18.0 Mb/s rate
       2.0         Allow 2.0 Mb/s rate
       24.0        Allow 24.0 Mb/s rate
       36.0        Allow 36.0 Mb/s rate
       48.0        Allow 48.0 Mb/s rate
       5.5         Allow 5.5 Mb/s rate
       54.0        Allow 54.0 Mb/s rate
    ***(why here without more than 54M/s rate, CISCO AP 1252 support IEEE802/n)
       6.0         Allow 6.0 Mb/s rate
       9.0         Allow 9.0 Mb/s rate
       basic-1.0   Require 1.0 Mb/s rate
       basic-11.0  Require 11.0 Mb/s rate
       basic-12.0  Require 12.0 Mb/s rate
       basic-18.0  Require 18.0 Mb/s rate
       basic-2.0   Require 2.0 Mb/s rate
       basic-24.0  Require 24.0 Mb/s rate
       basic-36.0  Require 36.0 Mb/s rate
       basic-48.0  Require 48.0 Mb/s rate
       basic-5.5   Require 5.5 Mb/s rate
       basic-54.0  Require 54.0 Mb/s rate
    ***(why here without over than 54Mb/s Rate?, it support IEEE802.n)
       basic-6.0   Require 6.0 Mb/s rate
       basic-9.0   Require 9.0 Mb/s rate
       default     Set default rates
       m0-7        Allow MCS rate indices 0-7
       m0.         Allow MCS rate index 0
       m1.         Allow MCS rate index 1
       m10.        Allow MCS rate index 10
       m11.        Allow MCS rate index 11
       m12.        Allow MCS rate index 12
       m13.        Allow MCS rate index 13
       m14.        Allow MCS rate index 14
       m15.        Allow MCS rate index 15
       m2.         Allow MCS rate index 2
       m3.         Allow MCS rate index 3
       m4.         Allow MCS rate index 4
       m5.         Allow MCS rate index 5
       m6.         Allow MCS rate index 6
       m7.         Allow MCS rate index 7
       m8-15       Allow MCS rate indices 8-15
       m8.         Allow MCS rate index 8
       m9.         Allow MCS rate index 9
       ofdm        How to place OFDM rates in rates elements
       only-ofdm   Set rates for best OFDM throughput (no ERP protection will be used)
       range       Set rates for best range
       throughput  Set rates for best throughput (includes non-OFDM rates and may cause ERP
    Why this device cannot support  300Mb/s rate in radio 0 of speed ?
    i want to setup more than 54 Mb/s when i use my laptop to connect this AP.

    The 802.11n HT rates apply only to no encryption  or WPA2/AES encryption. They do not apply to WEP or WPA encryption. If  WEP or TKIP encryption is used, the 1250 series access points and any  802.11n Draft 2.0 clients will not transmit at the HT rates. Legacy  rates (802.11a/b/g) will be used for any clients using WEP or TKIP  encryption.
    Ref.: Release Notes
    40MHz Operation
    If the  throughput you get from a 20-MHz channel isn't enough for your speedy  users, you can flip each 5-GHz 11n radio into a bonded-channel  configuration.
    You can configure 40-MHz operation on the 2.4-GHz  radio of the 1250 Series AP, but this isn't recommended or supported.  The primary reason against it is that with a wide channel in a band that  has so little available spectrum (and so much interference), you make a  single AP capable of higher throughput at the expense of performance  for all neighboring access points-certainly not the way enterprise WLANs  ought to be designed. Also, the vast majority of client chipsets  (Intel's, for one) will not support 40-MHz operation in the 2.4-GHz  space.
    Ref.: Cisco  802.11n Design and Deployment Guidelines
    Making the Most of Things
    Once you're  connected at 802.11n HT rates, you'll want to make sure you don't lose  the throughput gains you should be able to achieve. Not all may be  within your control, but if you understand the performance implications  of these variables, it will help you in baselining your WLAN  capabilities.
    When your  laptops are unplugged, the 11n client will likely try aggressively to  save battery power. Depending on client radio and chipset, it's not  uncommon to see performance drop by as much as 50 percent. Unless you  know how to fully disable this, keep your laptops plugged in if you want  maximum performance,
    Note: Even if you managed to disable this power save function, most laptop  motherboards/chipsets have automated power-saving features that kick in  when the laptop is unplugged. At best, these are difficult to disable.  Thus, it is strongly recommended that you not do performance testing  when clients are battery operated.
    As detailed  previously, throughput performance may vary as legacy devices are  introduced into the 802.11n environment. This is to be expected, but  make sure that you find a channel void of all legacy transmissions if  you want to test the high-water mark of your new 11n WLAN. If that isn't  possible, adjust your expectations accordingly.
    Ref.: Cisco 802.11n Design and Deployment Guidelines
    Regards,
    André

  • Table with more than 35 columns

    Hello All.
    How can one work with a table with more than 35 columns
    on JDev 9.0.3.3?
    My other question is related to this.
    Setting Entities's Beans properties from a Session Bean
    bought up the error, but when setting from inside the EJB,
    the bug stays clear.
    Is this right?
    Thank you

    Thank you all for reply.
    Here's my problem:
    I have an AS400/DB2 Database, a huge and an old one.
    There is many COBOL Programs used to communicate with this DB.
    My project is to transfer the database with the same structure and the same contents to a Linux/ORACLE System.
    I will not remake the COBOL Programs. I will use the existing one on the Linux System.
    So the tables of the new DB should be the same as the old one.
    That’s why I can not make a relational DB. I have to make an exact migration.
    Unfortunately I have some tables with more than 5000 COLUMNS.
    Now my question is:
    can I modify the parameters of the ORACE DB to make it accept Tables and Views with more than 1000 columns, If not, is it possible to make a PL/SQL Function that simulate a table, this function will insert/update/select data from many other small tables (<1000 columns). I want to say a method that make the ORACLE DB acting like if it has a table with a huge number of columns;
    I know it's crazy but any idea please.

Maybe you are looking for