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

Similar Messages

  • I am running a strain gage test and can't get more than 1000 samples

    A formor employee left a strain gage VI that I am attempting to reuse but no matter what I do I can,t get more than 1000 samples before needing to restart the loop. In the task timing (of NI-DAQmx) I have set the acquisition mode to N Samples and the clock settings to read 65000 samples at 25 Hz. There is a DAQmx timing(sample clock) VI that resets to finite samples and 1000 per channel when I close it but I have reset it to 65500 continious samples and left it open to no avail. There is a rate input to this sample clock on the front window that I have tried setting to several different rates to no avail. The Vi will run about 15 seconds, collect 1000 samples and then ask to verify the file location to save the data to. Upon verifying the file location the VI will run another 15 sec. loop before stopping for verification again.
    If the loop is stopped rather thanhaving the file verified an error is listed:
    Error-200278 occurred at DAQmx Read (Analog 1d WFm NChan NSamp).vi:1
    The given possible reason given is: attempted to read a sample beyond the final sample acquired.
    When I stop attempting to run the VI the block diagram opens with a dark block around file creation block. I need this VI to run for 10 min. collecting samples at about 25/sec. Can someone help me figure out what I am doing wrong?
    I have made screen shots of the VI and the error code to assist finding the incorrect programing.
    Thank you for your help.
    Jim Steinmeyer
    Jim Steinmeyer
    Design Engineer
    Reinke Mfg.
    PO 566
    Deshler NE 68340
    [email protected]
    Attachments:
    strain test error.doc ‏493 KB

    Thank you,
    I was just thinking about being able to increse the size of the doc.  for better visability. I have tried working with the rate input for the DaQmx for the sample clock and it does change the frequency of sampling, but I still get just the 1000 samples. I have included Jpegs this time. I have tried to exppand the two DAQ assistants that arn't expanded but am unable to, I also am unable to find a "propertys" command to open them up and see what exactly they do. The nested while loop for output also seems strange to me. Maybe I would be better to attempt a new program but being new to the language I thought using an existing program might be best.
    Jim
    Jim Steinmeyer
    Design Engineer
    Reinke Mfg.
    PO 566
    Deshler NE 68340
    [email protected]
    Attachments:
    block diagram.JPG ‏134 KB
    DAQmx.JPG ‏129 KB

  • How to pass more than 1000 entries in 'IN' clause, Oracle 11g

    Hi All,
    I know this is a very common question in Oracle discussion forum. But, Im in different zone.
    I use C#, .NET and Oracle 11g. I have a situation where I will create a query statement using 'IN' clause in C# code based on my requirement and execute that statement from code itself with oracle connection object. I do not have any procedures. I must phrase my query statement and pass it on to OracleConnection object to execute it.
    My code looks like this....
    List<decimal> x_Ids = new List<decimal>();
    I will load my IDs into x_Ids here;
    string whereInClause = ........I will prepare a 'IN' clause (All IDs separated by ',')
    My query would looks like this....
    string query = select * from MYTABLE where X_ID in [ whereInClause with more than 1000 entries]
    oraConn.ExecuteQuery(query);
    I have a workaround with OR operator with 'IN' clause like below.
    X_ID in [ Ids till 1000 entries] OR X_ID in [Next 1000 entries] OR X_ID in [Next 1000 entries] ....so on.....
    It is working, but, I heard that this may slowdown the performance of the application. Is this really a performance hit to my application?
    Can you please suggest any other workaround to overcome this situation?

    >
    I have a workaround with OR operator with 'IN' clause like below.
    X_ID in [ Ids till 1000 entries] OR X_ID in [Next 1000 entries] OR X_ID in [Next 1000 entries] ....so on.....
    It is working, but, I heard that this may slowdown the performance of the application. Is this really a performance hit to my application?There should be no performance difference between a statement like
    select * from myTab
    where ID in (1,2,3,4,5)
    OR ID in (6,7,8,10,12) and
    select * from myTab
    where ID in (1,2,3,4,5,6,7,8,10,12) The execution plan should be identical.
    However those values might better be send as a single object (collection or table of numbers type).
    I think the ODP or OO4O connectivity allows to create and such oracle object types.
    Another way could be to think about how all the values are created? Did any user enter them manually? Certainly not. Then maybe you can apply the same logic to the SQL statement that created those values in your .Net application.
    something like
    select * from myTab
    where ID in (select t2.FK_ID from otherTab t2 where t2.Col1 = 100) This approach would probably beat all others performancewise. Since you avoid the overhead of constructing the in-lists.

  • How can i get more than 1000 items in Custom List Displaying Items?

    http://.....sites/_vti_bin/listdata.svc/AddressBook(List) allows 1000 items Only my AddressBook List, but i have more than 1000 items in my AddressBook list. I want to get items
    from AddressBook list and bind in another place using Autocomplete method like this.
    =======>>>>listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook.
    and my coding in camel like below
    protected void btnpopulatedetails_Click(object sender, EventArgs e)
    SPSite objSite = SPContext.Current.Site;
    SPWeb objWeb = objSite.OpenWeb();
    objWeb.AllowUnsafeUpdates = true;
    SPList list = objWeb.Lists["Address Book"];
    SPQuery query = new SPQuery();
    query.QueryThrottleMode = SPQueryThrottleOption.Override;
    query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + txtcustomer.Value + "</Value></Eq></Where>";
    query.RowLimit = 500;
    SPListItemCollection items = list.GetItems(query);
    function fnCustomerSearchBind() {
    if ($("input[id$='txtcustomer']").length != 0) {
    var collcustomer = searchCustomers('', urlTo, fieldto);
    $("input[id$='txtcustomer']").autocomplete({
    source: collcustomer,
    //maxLength:10,
    select: function (event, ui) {
    //debugger;
    event.preventDefault();
    $("input[id$='txtcustomer']").val(ui.item.value);
    $("input[id$='btnpopulatedetails']").click();
    return false;
    minLength: 0,
    function searchCustomers(value, listurl, fieldto) {
    var collcus = new Array();
    var custresults;
    var url =listurl + "?$filter=startswith('" + fieldto + "','" + value + "')";
    //debugger;
    $.ajax({
    cache: true,
    type: "GET",
    async:false,
    dataType: "json",
    url: url,
    success: function (data) {
    custresults = data.d.results;
    //alert(listurl);
    // alert(data.d.results);
    for (var x = 0; x < custresults.length; x++) {
    //alert(custresults[x]['To']);
    collcustList.push(custresults[x]['To']);
    //debugger;
    //debugger;
    return collcustList;
    In my research listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook has 1000 items in 1st Page by default, So how to change 1st Page by default to All Pages through
    code. I think you understand my environment by look above coding, if you don't I am using office 365 sandbox solution. One more thing i know through my research Pages can be change by using Ado.Net Data Service, i tried this one but this one support windows
    server 2008 r2 only but i am using Windows Server 2012 r2. Please help me if you know the answer.

    Hi,
    Here is a blog would be helpful:
    ADO.NET Data Services returns 1000 items
    https://gilleslauwers.wordpress.com/2010/12/08/ado-net-data-services-returns-1000-items/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Can we upload more than 1000 records with BPS file upload pf

    We are using file upload functionality in BPS. Can we use this function to upload around 80,000 records at a time.
    We are unable to upload more than 1000 records because throws a time out error. Is there a setting that we can change to resolve this?

    Hi,
    Can you check the following note  about BW system parameters :
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=192658]
    Check the work Process time set for your BW system
    Is your application web based ?
    Pratyush

  • Can I process more than 1000 I/Os for data logging?

    My process requires 1000 digital input for data logging and 500 digital output for HMI display.
    Can I use Lookout for this application?

    The I/O count is well within the capabilities of Lookout. If you are working with this size of an application you should look into the features of Lookout 5.0. There are means to backup your data from a different computer. Also view and export your data easily from the new Historical Data Viewer. There has always been means for redundancy. Going through a course manual also helps, class or self paced.

  • Can I download more than 1000 photos

    I noticed that some of my photos on my iPhone are not appearing past 1000 photos in photo-stream and I'm concerned that my Disneyland May 2013 photos are gone? help!

    You may have photos from 2013 still in My Photo Stream but there is no guarantee of that. See here for the Photo Stream FAQ: http://support.apple.com/kb/ht4486
    If you are using a shared PhotoStream then photos will be retained for indefinitely. See here for the Shared Photo Stream FAQ: http://support.apple.com/kb/HT5903

  • List with more than 1000 elements

    I'm trying to use this query:
    select *
    from street
    where street_cod in ('street_code_list')
    It working well when the 'street_code_list' has less than 1000 codes but it fails when it have more, with a message that says that a list can't have more than 1000 elements. How can I fix this problem? Can I use any other kind of object to store my list?
    I'm querying the database in ColdFusion using ODBC.
    Thank you in advance,
    Rui

    Another thing to consider doing is simply creating a "list table" which would contain your list elements and allow you to do a
    SELECT X
    FROM Y
    WHERE X IN (SELECT X
    FROM Z)
    type query.
    I don't know where you are getting your list from, but if it is persistant (i.e, doesn't change with every program run) this is certainly a viable option (and may be usable even if the list does change every run).
    If this is being executed in PL/SQL (or some other procedural language) you could also just loop through your list: execute the query with the first 1000 list elements and do your processing, then the next, and so on. Of course, to some extent this depends on your processing, but if you need the entire result set before you can process it, then you could store the individual result sets in a PL/SQL table or an array (if you are using Pro*C or whatever) and then process when the PL/SQL table/array was fully populated.

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

  • 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! ;-) ]

  • I have more than 1000 contacts in my etisalat sim card, but when I import the contats its stop at 750 contacts, what is wrong? i read the phone can carry thousands of contacts..what shall i do?

    I have more than 1000 contacts in my etisalat sim card, but when I import the contats its stop at 750 contacts, what is wrong? i read the phone can carry thousands of contacts..what shall i do?

    Thanks, it seems that it doesn't like to play games, which is a bit of a bummer as i bought this specifically because it was capable of doing that.  To be fair, it is capable... I just need to get used to a sound like sitting by a washing machine on spin cycle...  Wish they would make people aware of this in the Apple Store, its very misleading and not at all desireable.

  • SendMail: can not send mail with body more than 1000 caracters

    Hi,
    I can not send mail with a body wich is more than 1000 caracters.
    FUNCTION SendMail(SMTPServerName IN STRING,                     
                        Sender IN STRING,                     
                        Recipient IN STRING,                     
                        CcRecipient IN STRING,                     
                        BccRecipient IN STRING,                     
                        Subject IN STRING,                     
                        Body IN STRING,                     
                        ErrorMessage OUT STRING,                     
                        Attachments IN ATTACHMENTS_LIST) RETURN NUMBER IS      
                        AttachmentList VARCHAR2(4000) := '';      
                        AttachmentTypeList VARCHAR2(2000) := '';   
                          BEGIN       ParseAttachment(Attachments,                      
                                                      AttachmentList);      
                                      RETURN JSendMail(SMTPServerName,
                                                       Sender,                       
                                                       Recipient,                       
                                                       CcRecipient,                       
                                                       BccRecipient,                       
                                                       Subject,                       
                                                       Body,                       
                                                       ErrorMessage,                       
                                                       AttachmentList); 

    Hi,
    I can not send mail with a body wich is more than 1000 caracters.
    FUNCTION SendMail(SMTPServerName IN STRING,                     
                        Sender IN STRING,                     
                        Recipient IN STRING,                     
                        CcRecipient IN STRING,                     
                        BccRecipient IN STRING,                     
                        Subject IN STRING,                     
                        Body IN STRING,                     
                        ErrorMessage OUT STRING,                     
                        Attachments IN ATTACHMENTS_LIST) RETURN NUMBER IS      
                        AttachmentList VARCHAR2(4000) := '';      
                        AttachmentTypeList VARCHAR2(2000) := '';   
                          BEGIN       ParseAttachment(Attachments,                      
                                                      AttachmentList);      
                                      RETURN JSendMail(SMTPServerName,
                                                       Sender,                       
                                                       Recipient,                       
                                                       CcRecipient,                       
                                                       BccRecipient,                       
                                                       Subject,                       
                                                       Body,                       
                                                       ErrorMessage,                       
                                                       AttachmentList); 

  • Can more than 1000 notes be uploaded...???

    I have the video iPod, but now I think it ***** couse I cant load more than 1000 notes.
    Can anyone tell me how to change that, and how can I suggest this to Apple....???

    there is a limited amount but i think if you download a form of thigy then you can download that form into the harddrive of th ipod and be able to carry more but the form is illegal and pirated so i wont give it out

  • How can I publish more than 200 pictures to a Facebook album (Facebook max is now 1000 pictures per album)

    How can i publish more than 200 pictures to a facebook album now that the facebook maximum is 1000 photos per album.

    It looks like Jeffrey's version allows for multiple accounts http://regex.info/blog/lightroom-goodies/facebook

  • CAN YOU FREEZE MORE THAN 5 HEADER COLUMNS ?

    Can you freeze more than 5 header columns and header rows?

    Mike,
    According to Numbers '09 User Guide, Chapter 3, Adding Table Header Rows or Header Columns the maximum number of Headers is 5.
    The Numbers '09 User Guide is free for the download and full of important information:
    http://support.apple.com/en_US/manuals/#iwork

Maybe you are looking for