Error just trying to retrieve the data in queue

Hi all

I'm trying to retrieve data from a table by using the following query that is written in the hold file:
set numformat 999,999,999,999,999,999,999.999
set trimspool on
set echo off
set line 10000
set pagesize 50000
set head on
set array 1

spool C:\ACCOUNT.spl

select ACCOUNT_NO, BALANCE from TABLE1 where ACCOUNT_NO in (

where the number of account number is more than 11000

)
-------------------------------------
After you run the hold file above the following ERROR is coming:

ERROR on line 2836:
ORA-01795: maximum number of expressions in a list is 1000
------------------------------------

could you pls. Let us know the process how to extract these check-in bulk over 1000 using the hold file?

Thank you in advance.

Published by: HOME_TOWN on June 7, 2009 20:20

Published by: Francis Sep 24, 2009 22:31

Hello.

Create a new table and load your account_numbers in this, your query will be:

select ACCOUNT_NO, BALANCE from TABLE1 where ACCOUNT_NO in (
SELECT account_number from your_new_table);

There is no limit on records you have in your new table.

Tags: Database

Similar Questions

  • ORA-01124: cannot retrieve the data file 1 - file is in use or recovery

    I'm trying to recover the database in waiting, but it gives the error below.

    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
    ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'

    When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.

    "media recovery has not started.

    It seems that the recovery was stuck between the two.
    Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.

    Thanks in advance.

    Dataguard and MRP, you run a script before.

    In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.

    In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.

    Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)

    What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
    Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)

    Hemant K Collette

    Published by: Hemant K Collette on May 29, 2013 17:47

  • BlackBerry Z3, I lost all my data on my SD storage card, please help me to retrieve the data.

    Dear Sir.

    I lost all my data on my SD storage card, please help me to retrieve the data. I have a Z3, just bought only a week before, I removed the card with the phone off and then give the card again and noticed that I lost all the data. Please help

    Try restarting your phone. Sometimes it shows data that brought them "disappeared". To do this, hold down your power button for about 15 seconds, until you see BlackBerry on your screen. Do not release the button until you see that without taking account of any other thing you see before that.

    Try this and post back with your results.

  • BlackBerry smartphones "an error occurred trying to read the media.» (Videos/YouTube) (WiFi)

    Hello

    I have a Storm 2, YouTube and videos work fine and dandy, and then yesterday suddenly YouTube stopped working. I would like to click on a video, he strives to buffer for 30 seconds, then said "an error occurred trying to read the media.» I tried to do the thing optimization YouTube, check again. I thought that maybe it wasn't the internet bad connection, since we were our friends, but he came home today, same thing happens.

    Also today I tried to record a video, and when I finished recording and tried to play, same error. I have connected my BB to my PC and played, played very well. The video is in 3GP format.

    The storm 2 is from Verizon, but it is unlocked and I am with Bell. I have not given or the internet with bell is throughout the WiFi.

    Halp meh please.

    Still, first, reboot the device...

    With the BlackBerry powereddevice, remove the battery for a minute and then reinsert the battery to restart. A reboot in this way is prescirbed for most the gltiches and operating system errors, and you will lose any data on the device doing so.

    Now, try again your video playback.

  • I just tried to install the Adobe Creative Cloud trail and the apps tab does not work and I tried to uninstall several times and nothing. Any suggestions?

    I just tried to install the Adobe Creative Cloud trail and the apps tab does not work and I tried to uninstall several times and nothing. Any suggestions?

    An error keeps poping up on creative cloud without work and it's really annoying that I can't use it anymore or even try anything at all.

    Help, please

    Using creative cloud | Download error in the applications tab of Creative Cloud Desktop Application

  • ADFDI-05577: could not retrieve the data table on the server.

    Dear all,

    My use case is, when I opened my excellent work book, I have this error message is out ' ADFDI-05577: could not retrieve the data table on the server line "and when I click on the button 'OK' of the error message I can recover all the data on the server. Please help me how to solve this error?


    Concerning
    KT

    Thanks much Sireesha Pinninti, John Stegeman, Arun.

    Yes, my problem is of subquery. I found a solution from this site.
    http://www.DBA-Oracle.com/t_ora_01427_single_row_subquery_returns_more_than_one_row.htm,
    http://srinisboulevard.blogspot.com/2010/04/ora-01427-single-row-subquery-returns.html
    http://StackOverflow.com/questions/3804850/erroneous-ora-01427-single-row-subquery-returns-more-than-one-row / / the answer is the last line

    Before change (error subquery)

    CheckingEO.BO,
    (SELECT ntr_no FROM test
    WHERE cs_no = CheckingEO.CS_NO) NTR_NO
    To archive the CheckingEO

    Edit it like this

    (SELECT ntr_no FROM test
    WHERE cs_no = CheckingEO.CS_NO and Rownum = 1) NTR_NO
    To archive the CheckingEO

    Concerning
    KT

    Published by: KT on 23 May 2012 15:35

    Published by: KT on 23 May 2012 15:48

  • "There was an error while trying to delete the snapshot"

    I am running VMware Fusion on a 10.5.7 and when I try to delete the old clichés I get this error

    "There was an error while trying to delete the snapshot

    Impossible to clean deleted files:

    The specified virtual disk needs to be repaired.

    It's the performance of FreeBSD. The server has no harm actually run but gets big enough and I would like to clean it up a bit. Any suggestions?

    Thank you very much

    MacGruder says:

    I am running VMware Fusion on a 10.5.7 and when I try to delete the old clichés I get this error

    "There was an error while trying to delete the snapshot

    Impossible to clean deleted files:

    The specified virtual disk needs to be repaired.

    It's the performance of FreeBSD. The server has no harm actually run but gets big enough and I would like to clean it up a bit. Any suggestions?

    Firstly it goes without saying, but I'll say it anyway...  Always back up all of the Virtual Machine with the Virtual Machine within the OS, not suspended, and Fusion to stop closed before trying to make repairs on a virtual hard disk.

    This may not work if it's the basic disk that needs to be repaired and the Virtual Machine has snapshots, but I go through it.  You can try to use "/ Library/Application Support/VMware Fusion/vmware-vdiskmanager ' with the '-r' option.  Note: If the basic disk do not while snapshots are at stake, because it will cause more problems so my suggestion is first try to create a new basic without snapshots disk using the information below (see another option).

    Also one of the reasons to delete a snapshot may fail if there is no adequate free disk space for the operation ends so make sure you have a lot of free disk space.

    Another option would be to create a new basic disk, and then use dd by using an Image of CD/DVD/ISO Linux Live in the image of the old drive so written delta in snapshots to a new basic disk.

    I like to use the ISO Image of KNOPPIX_V5.1.1CD - 2007-01-04 - IN .iso to start the Virtual Machine and use dd to leave because it works well with VMware SCSI virtual hard disks.

    Also in Fusion 2.x, configuration the target Virtual Machine's .vmx file must be changed manually to have the present following parameters when using Knoppix.

    usb:0.deviceType = "mouse"
    usb:0.present = "FALSE"
    mouse.vusb.enable = "FALSE"
    

    Note: The first two parameters may already exist but if the other exists and is set to true, then set it to FALSE and the third are probably already so just add it.

  • LabVIEW 2013: An error occurred trying to load the assembly

    Hey all,.

    I'm trying to load a dll .NET 4.5 in LabVIEW 2013.

    When I place one of the screws .NET and try to select the one I am after it says "an error occurred trying to load the assembly" and will not let me load it.

    I also tried to import the dll, but who also gave errors.

    It's defintely a 4.5 as the reflector .NET .NET dll gives me

    [assembly: ComVisible (false)] [assembly: TargetFramework(".)] NETFramework, Version = v4.5 ", FrameworkDisplayName =".NET Framework 4.5 ")] [Assembly: SecurityRules (SecurityRuleSet.Level1)] [assembly: SecurityPermission (SecurityAction.RequestMinimum, SkipVerification = true)] '"

    To try to work around the issue of the import, I added the following to my LabVIEW.exe.config file



     
       
     

    but it made no difference.

    Any suggestions? All the things I've read so far are for 2010.

    SOLVED!

    I installed a 64-bit version of LabVIEW and it works. HUZZAH!

  • How to join two tables to retrieve the data from the columns in table two. Tables have primary and foreign key relationships

    Hello

    I want to join the two tables to retrieve the data from the columns of the two table passing parameters to the join query. Tables have primary and foreign key relationships

    Details of the table

    Alert-1 - AlertCode (FK), AlerID (PK)

    2 AlertCode-AlertDefinition-(PK)

    Help, please


    ----------

    Hi Vincent,.

    I think that you have not worked on adf 12.1.3.  In adf 12.1.3 you don't have to explicitly create the association. When you create the EO to your table, Association xxxxFkAssoc, will be created by ADF12.1.3 for you automatically. Please try this and do not answer anything... You can also follow the links below. I solved the problem by using the following link

    Oracle ADF Guide step by step - Oracle ADF tutorial: creating a relationship of the master / detail using Oracle ADF

    ---

  • Need to retrieve the data for the current date.

    Hello

    I have a table which then retrieves information when using this command.

    Select ta_acct, shift, created_on track_alerts;

    Technicolor A 24 March 14

    Technicolor A 24 March 14

    Technicolor A 24 March 14

    Technicolor A 24 March 14

    Manitoba telecom a 24 March 14 system

    Technicolor A 24 March 14

    I used this statement to retrieve the data for the given date.

    Select ta_acct, shift, created_on track_alerts where created_on = 24 March 14 ';

    Its not data recovery.

    Need help.

    Kind regards

    Prasad K T,.

    984002170

    Prasad K T wrote:

    Yes the created data type is date.

    CREATED_ON DATE

    Partha thanks it works now.

    Select ta_acct, shift, created_on in track_alerts where to move is: Shift and TRUNC (created_on) = TO_DATE('24-MAR-2014','DD-MON-YYYY');

    Still, I made a small change to my querry.

    Select ta_acct, shift, created_on track_alerts where to move is: shft and TRUNC (created_on) = TO_DATE (select double sysdate,'MON-DD-YYYY "");

    For this statement, it does not work.

    of course not...

    first: sysdate returns a date so no need of conversion here

    and

    second SYSDATE includes time, so your application should look like this:

    Select ta_acct, shift, created_on in track_alerts where to move is: Shift and TRUNC (created_on) = trunc (sysdate)

    or

    Select ta_acct, shift, created_on in track_alerts where to move is: shft and created_on > = trunc (sysdate) and created_on<>

    HTH

  • cannot set file error when trying to put the photoshop button in adobe muse, he is not 'supported color space. Resave image RGB or grayscale.

    cannot set file error when trying to put the photoshop button in adobe muse, he is not 'supported color space. Resave image RGB or grayscale.

    I believe that this is already the answer here:

    https://forums.Adobe.com/thread/1917435

    Thank you

    Sanjit

  • an error occurred trying to access the service

    I wonder why I bought a year subscription to Adobe Reader to convert PDF files to Doc files, when it WORKS and no one seems to be able to help me! I'm on a Mac Book Pro with Yosemite (do not upgrade it slows down your Mac evil) and whenever I try to convert a pdf file to a doc I get "an error has occurred while trying to access the service", can someone help me please?

    Hi Cedric,

    The customer service number is 800833687

    Is the direct link to chat: http://adobe.ly/19llvMN

    You must click on 'Still need help' to start the chat session.

    You get this error: "year error occurred trying to access the service", all trying to access the service by the reader.

    Try to use the link: https://cloud.acrobat.com/exportpdf log in with your Adobe ID and try to convert a pdf file to doc and check if it works for you.

    Agress,

    Rave

  • 1 error when trying to install the cloud adobe creative

    1 error when trying to install the cloud adobe creative

    Hello Alejandro,

    You can follow the article: error "failed to install" Creative Cloud Desktop application that will help you solve your problem.

    I would like to know if it works or not.

    Thank you

    Yann Arora

  • Cannot retrieve the data by binary storage by default for XML 11 g

    Oracle 11.2

    All,

    As someone mentioned in another post, I got I should use binary XMLType CLOB rather than 11g because it is more efficient. When I create the XMLType column as binary I can't retrieve the value of the column, but when I use CLOB I am able to extract data on.

    -Create table with XMLTYPE column.  Since it is 11.2 storage of the column is automatically binary
    CREATE THE TABLE HR. XMLTABLESTORE (key_id VARCHAR2 (10) PRIMARY KEY, xmlloaddate date, xml_column XMLTYPE);

    -Insert the XML into the XML column
    INSERT INTO HUMAN RESOURCES. VALUES XMLTABLESTORE (HR. XMLSEQUENCE. NEXTVAL, SYSDATE, XMLType (bfilename ('XMLDIRX', 'PROD_20110725_211550427_220b.xml'),
    nls_charset_id ('AL32UTF8'))); COMMIT;

    -When I do a select I see full XML in the xml_column column
    SELECT * FROM HR. XMLTABLESTORE

    -When I run the following query I get the following:
    SELECT extract (xml_column, ' / / MapItem/@ProductNum') ProductNum OF HR. XMLTABLESTORE

    ProductNum
    -------------
    XMLType

    -When I run the following query on the @, I get the following:
    SELECT extract (xml_column, ' / / MapItem/ProductNum ') ProductNum OF HR. XMLTABLESTORE

    ProductNum
    -------------
    Null value

    When I run the same SELECT query retrieves (xml_column, ' / / MapItem/@ProductNum') ProductNum OF HR. XMLTABLESTORE and the table is created by CLOB, I get out the expected value of the XML file.

    How can I get the query to retrieve the data through a binary file?

    I appreciate any help in advance.

    Thank you
    Shawn

    Published by: 886184 on Sep 20, 2011 15:42

    Probably a problem with your client tool.

    It works for me:

    SQL*Plus: Release 11.2.0.2.0 Beta on Mer. Sept. 21 19:39:55 2011
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta
    
    SQL> CREATE TABLE xmltablestore (
      2    key_id VARCHAR2(10) PRIMARY KEY
      3  , xmlloaddate DATE
      4  , xml_column XMLTYPE
      5  );
    
    Table created.
    
    SQL> INSERT INTO xmltablestore
      2  VALUES ('1', sysdate, XMLType(bfilename('TEST_DIR', 'PROD_20110725_211550427_220b.xml'),nls_charset_id('AL32UTF8')))
      3  ;
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> SELECT extract(xml_column, '//MapItem/@ProductNum') ProductNum
      2  FROM xmltablestore
      3  ;
    
    PRODUCTNUM
    --------------------------------------------------------------------------------
    63481062975
    
    SQL> SELECT extractValue(xml_column, '//MapItem/@ProductNum') ProductNum
      2  FROM xmltablestore
      3  ;
    
    PRODUCTNUM
    --------------------------------------------------------------------------------
    63481062975
    
    SQL> SELECT xmlcast(
      2          xmlquery('/Entries/Category/MapItem/@ProductNum'
      3           passing t.xml_column
      4           returning content
      5          )
      6          as number
      7         ) ProductNum
      8  FROM xmltablestore t
      9  ;
    
    PRODUCTNUM
    ----------
    6,3481E+10
    
    SQL> SELECT xmlcast(
      2          xmlquery('/Entries/Category/MapItem/@ProductNum'
      3           passing t.xml_column
      4           returning content
      5          )
      6          as varchar2(30)
      7         ) ProductNum
      8  FROM xmltablestore t
      9  ;
    
    PRODUCTNUM
    ------------------------------
    63481062975
    

    BTW, extract and extractvalue functions are deprecated in version 11.2.
    Oracle now recommends using XMLCast/XMLQuery.

  • ORA-20600 error when trying to add the RAC database

    I get the following error when trying to add the RAC database in grid control. Any idea?.

    ORA-20600: the specified target is being deleted

    This database does not exist in the target. But, I still cannot add.

    Check metalink Note: unable to add Rac Database grid control get error Ora-20600 [1218797.1 ID]

    You will have to wait a while and check the status.

Maybe you are looking for