ORA-24005: must use DBMS_AQADM. DROP_QUEUE_TABLE to drop queue tables

When I drop the simple control panel drop I get this error.


ORA-24005: must use DBMS_AQADM. DROP_QUEUE_TABLE to drop queue tables

solution

This error come when you deposit QUEUE_TABLE with normal drop table command.

To remove the queue table, you should use DBMS_AQADM. DROP_QUEUE_TABLE procedure.

BEGIN
DBMS_AQADM. DROP_QUEUE_TABLE ("the queue table name", TRUE);
END;
/

Tags: Database

Similar Questions

  • ORA-12083: must use DROP MATERIALIZED VIEW to drop

    Hi all

    Oracle 10 g 2
    Solaris 10

    face below question... can't go below the user because of the MV... Please let me know how to delete user and MV...
    SQL > drop user cascade DW_USR;
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-12083: must use DROP MATERIALIZED VIEW to drop
    'DW_USR '. "" Dept_account_MV_M ".

    I tried as you said... .but no luck.
    .. is this a bug?

    I hope that's not a bug...

    I hope.. materialized view appears to be abandoned by the drop command but recreation fails because of some disctionary sys tables. the origin of the problem... it's suspicious only...

    check once... otherwise connect you SR with metalink...

  • Issue of DB: error ORA-00333 & ORA-01589: must use RESETLOGS or NORESETLOGS

    Hello

    I have question DB Oracle 9.2.0.6.0 all start-up:

    DB mount OK,

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-00333: make the mistake of reading newspaper block 106498 County 8192


    then I tried some recovery as below, but always error:
    =================================
    SQL > recover database until cancel;
    ORA-00279: change 9228925192024 September at 2010-12-29 15:20:48 needed to screw 1
    ORA-00289: suggestion: /ora/datafile/archive/1_250.dbf
    ORA-00280: change 9228925192024 thread 1 is in sequence #250


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    ORA-00308: cannot open archived log ' / ora/datafile//archive/1_250.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3


    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / ora/datafile/system01.dbf'

    ----------------------------------------

    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / ora/datafile/system01.dbf'

    ----------------------------------------

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
    ====================================================

    Please guide to do this,

    Thank you and best regards,
    Vishnu

    If the Redo Log file CURRENT (status in V$ LOG or reading the alert.log indicating that the switch in this journal of recovery has been done) is corrupt, the only recourse is to RESTORE the database from a previous backup and then BACK up to the previous to redo log / ArchivedLog.

    See the documentation on the various scenarios:

    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/recoscen.htm#CACFFJFB

    Hemant K Collette

  • * ORA-00972: identifier is too long * when drop index table app

    Hello

    I had some difficulties with dropApplicationTableIndex. He raised an exception ORA-00972:
    java.sql.SQLException: ORA-00972: identifier is too long

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
    at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1657)
    at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1626)
    at oracle.spatial.rdf.client.jena.Oracle.executeUpdate(Oracle.java:769)
    at oracle.spatial.rdf.client.jena.GraphOracleSem.dropApplicationTableIndex(GraphOracleSem.java:3695)


    However, the longer name of my models is 23 characters, making it the longest name of characters 27A table (+ _TPL).
    Is there a still shorter limit for the length of model name?

    Thank you

    Kind regards
    Julien

    Hi Julien,

    In fact, the limit for a semantic model, created using the Jena adaptor is 19 characters. This is because the application table index uses TRIPLEIDX as a suffix.

    Best,
    Vlad

  • ORA-14452 attempts to create, alter or drop an index on a table temporary alr

    I'm trying to edit a column in my global temporary table.
    When I try to run the query, I get this error...
    ORA-14452: try to create, alter or drop an index on a temporary table already in use

    It is the solution that I found in google.
    Action: All sessions using the session-specific temporary table must truncate table and all transactions using the specific temporary table have to end their operations in transaction.

    How can I make sure that the transaction is complete
    or what is the best way to solve this problem?

    Thank you

    Tell everyone to disconnect from the database. If they won't come out and it is a change of mission critical and killing their session will have undesirable consequences for the data, and then kill their sessions. Hell you could bounce back just the database, that everyone will come out and then don't open it back to connections non s/n until your done with your DOF on the TWG. Of course, you probably want to do during a scheduled maintenance window if it is a production environment because it tends to make people grumpy when you surreptitiously gives them the boot.

    Depends on the importance, it's to make the change, on the other hand, the importance is keeping your DB online and/or your connected users.

  • Error (21,100): PL/SQL: ORA-00997: illegal use of the LONG data type

    CREATE or REPLACE (name in varchar2) procedure Compress_tab_partition
    is
    last_mnth_var varchar2 (8);
    curr_mnth_var varchar2 (8);
    number of last_mnth;
    number of curr_mnth;
    last_partition varchar2 (8);
    high_val varchar2 (4000);
    Start

    Select to_char (add_months (trunc (sysdate, 'MM'),-1), 'YYYYMM') | ' 00' in the double last_mnth_var;
    Select to_char (sysdate, 'YYYY') | TO_CHAR (sysdate, 'mm') | ' 00' in the double curr_mnth_var;
    Select to_number (last_mnth_var) in the double last_mnth;
    Select to_number (curr_mnth_var) in the double curr_mnth;

    Dbms_output.put_line ('Compression of GOLDMGR Table scores.' | table-name |) "to go". ») ;
    Dbms_output.put_line(' ');

    / * Step 1 - identify the name of the partition of the specified table must be compressed * /.
    Select high_value from high_val from user_tab_partitions where table_name = table-name;
    Select nom_partition into last_partition from user_tab_partitions where table_name = table-name and high_value = rtrim (high_val);

    / * Step 2 - Alter partition table to compress * /.

    run immediately "ALTER TABLE GOLDMGR." | table_name | ' CHANGE THE PARTITION '. last_partition | "COMPRESS by low query";

    / * Step 3 - Index rebuild step * /.

    I'm in (select index_name in user_indexes where table_name = table-name)
    loop
    run immediately "ALTER INDEX GOLDMGR." | i.index_name |' REBUILD ";
    end loop;

    Dbms_output.put_line (' COMPLETED: compress the Table partitions change.) ") ;

    end;
    /

    I'm getting an error like: Error (21,100): PL/SQL: ORA-00997: illegal use of the LONG data type

    Please resolve.

    HIGH_VALUE datatype is LONG. You may not use for a long TIME in WHERE clause expressions. You need to loop through the partitions by selecting HIGH_VALUE and then comparing. Secondly, there is no need to select double to calculate expressions. For example:

    Select to_char (add_months (trunc (sysdate, 'MM'),-1), 'YYYYMM') | ' 00' in the double last_mnth_var;

    should be replaced by

    last_mnth_var: = to_char (add_months (trunc (sysdate, 'MM'),-1), 'YYYYMM') | ' 00'.

    and there is no need to add_months here:

    last_mnth_var: = to_char (trunc (sysdate, 'MM') - 1, "YYYYMM"). ' 00'.

    But the main question is simply ALTER TABLE MODIFY PARTITION COMPRESS allows compression but does not compress. You must issue ALTER TABLE MOVE PARTITION COMPRESS:

    SQL > create table tbl (n) partition by range (n)
    2 (partition p1 values less than (maxvalue))
    3. Select lpad('X',4000,'X') from dual connect by level<=>
    4.

    Table created.

    SQL > select bytes
    2 from WHERE user_segments
    3 where nom_segment = 'TBL '.
    4 and nom_partition = 'P1 '.
    5.

    BYTES
    ----------
    830472192

    SQL > alter table tbl
    2. change the partition p1 compress
    3.

    Modified table.

    SQL > select bytes
    2 from WHERE user_segments
    3 where nom_segment = 'TBL '.
    4 and nom_partition = 'P1 '.
    5.

    BYTES
    ----------
    830472192

    SQL > alter table tbl
    2. move the partition p1 compress
    3.

    Modified table.

    SQL > select bytes
    2 from WHERE user_segments
    3 where nom_segment = 'TBL '.
    4 and nom_partition = 'P1 '.
    5.

    BYTES
    ----------
    8388608

    SQL >

    SY.

  • ORA-01552: cannot use tablespac system system rollback segment

    Hi all

    Environment: database Production: Source

    Database dev: target

    11203 Version database.

    Golden gate Version 11.1

    Scheme of the Golden Gate: GGATE

    Method of replication. DDL replication is ACTIVE

    In my production database my Undo tablespace is corrupted. I changed the management to cancel the manual setting and rebounded from the DB and open editing mode. Then I deleted the undo tablespace data file using in offline mode. Then I opened the database.

    SQL > alter database datafile ' / u01/app/oracle/oradata/db1/undotbs01.dbf' drop offline;

    Database altered.

    Issue.

    Now, if I try to let drop the tablespace UNDOTBS1 undo or to create the new database of the undo tablespace throws me error as below:

    SQL > drop tablespace undotbs1;

    Drop tablespace undotbs1

    *

    ERROR on line 1:

    ORA-00604: an error has occurred at the SQL level 1 recursive

    ORA-01552: cannot use system for non-system tablespace «GGATE» rollback segment

    ORA-06512: at the level of the line 993

    ORA-01552: cannot use system for non-system tablespace «GGATE» rollback segment

    Here is the status of rollback segment.

    SQL > select nom_segment, dba_rollback_segs State;

    NOM_SEGMENT STATUS

    ------------------------------ ----------------

    ONLINE SYSTEM

    _SYSSMU10_2490256178$ IN OFFLINE MODE

    _SYSSMU9_3593450615$ IN OFFLINE MODE

    _SYSSMU8_1909280886$ IN OFFLINE MODE

    _SYSSMU7_1924883037$ IN OFFLINE MODE

    _SYSSMU6_2460248069$ IN OFFLINE MODE

    _SYSSMU5_3787622316$ IN OFFLINE MODE

    _SYSSMU4_1455318006$ IN OFFLINE MODE

    _SYSSMU3_2210742642$ IN OFFLINE MODE

    _SYSSMU2_4228238222$ IN OFFLINE MODE

    _SYSSMU1_3138885392$ IN OFFLINE MODE

    11 selected lines.

    SQL > show Cancel parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    UNDO_MANAGEMENT string MANUAL

    UNDO_RETENTION integer 900

    undo_tablespace string UNDOTBS1

    Please anyone suggest me how to manage this problem.

    Kind regards

    Rohit

    Try this:

    Conn / as sysdba

    SQL > alter system set _system_trig_enabled = false;

    SQL > alter trigger sys.cdc_alter_ctable_before DISABLE.

    SQL > alter trigger sys.cdc_create_ctable_after DISABLE.

    SQL > alter trigger sys.cdc_create_ctable_before DISABLE.

    SQL > alter trigger sys.cdc_drop_ctable_before DISABLE.

    create undo tablespace, you could do now:

    SQL > create undo tablespace undotbs2 datafile 'XX/xX/XXX/XXX/undotbs2.dbf' size XM autoextend on;

    SQL > alter system set undo_tablespace = undotbs2 scope = both;

    allow them once again:

    SQL > alter trigger sys.cdc_alter_ctable_before ENABLE;

    SQL > alter trigger sys.cdc_create_ctable_after ENABLE;

    SQL > alter trigger sys.cdc_create_ctable_before ENABLE;

    SQL > alter trigger sys.cdc_drop_ctable_before ENABLE;

    SQL > alter system set _system_trig_enabled = TRUE;

    Restart the system.

  • ORA-01552: cannot use rollback for non-system tablespace system segment

    I'm getting following error, according to a previous thread under request.

    ORA-01552: cannot use rollback for non-system tablespace system segment
    select SEGMENT_NAME, TABLESPACE_NAME, INITIAL_EXTENT,STATUS
    from dba_rollback_segs SEGMENT_NAME                   TABLESPACE_NAME                INITIAL_EXTENT         STATUS           ------------------------------ ------------------------------ ---------------------- ---------------- SYSTEM                         SYSTEM                         114688                 ONLINE           _SYSSMU1$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU2$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU3$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU4$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU5$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU6$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU7$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU8$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU9$                      UNDO_TS                        131072                 OFFLINE          _SYSSMU10$                     UNDO_TS                        131072                 OFFLINE          _SYSSMU11$                     UNDO_TS                        131072                 OFFLINE          _SYSSMU12$                     UNDO_TS                        131072                 OFFLINE          _SYSSMU13$                     UNDO_TS                        131072                 OFFLINE          _SYSSMU14$                     UNDO_TS                        131072                 OFFLINE          15 rows selected
    How can I get them online, I can get them online does this error?

    Maybe you should also mention that you make no effort to look for the error in the documentation online or anywhere else.
    You get this when your database uses rollback segments, and you have spaces of multiple tables.
    To be able to create spaces of multiple tables, you must first create a rollback segment in the system tablespace.

    That's why you get the error.
    The resolution is clear.

    Unfortunately, 99.9 percent of all the people posting here refused to make any effort to resolve errors.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • Why my computer loses its cursor and/or loses its and must use the mouse to go back?

    I will be typing along and all of a sudden, nothing shows up on the screen and must use the mouse to get back.

    Also will be done solitare or another game and lose her and the mouse to move the things. Is this a virus?

    I updated my windows and nothing showed as a problem here.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Error 1430 to copy in Untitled 1. Possible reasons: LabVIEW: the path is empty or a parent. You must use an absolute path.

    I wrote a code to copy a file to a folder IE C:\Folder1:\Hello.txt to another folder C:\Folder2. But it shows an error in the copy. Is to show that 1430 error to copy in Untitled 1. Possible reasons: LabVIEW: the path is empty or a parent. You must use an absolute path.  Can someone help me please how to fix this problem. I've also attached the VI. Thanking you.

    Hello

    Change while loop to loop For!

    Kind regards

  • Must use xp 9 + GB of my disk space?

    must use xp 9 + GB of my disk space?

    I have a laptop xp with only 14G of storage, I got rid of all the temporary files (etc.) suggested.
    Not useful defragmentation.
    Is there just something buried in the Windows folder that I do not see who eats up to 9 GB? There is nothing that big when I look at the C: drive.
    If yes how I remove?
    Any help would be greatly appreciated.
    Ken

    The Windows Installer folder can sometimes grow out of control.  Do not delete files manually form the install file, you can use msizap.exe G!  to remove orphaned files install.  See here:

    How to remove safely orphaned Patches

    and here:

    Unofficial msizap.exe download location

    John

  • I cannot acess my main profile and you must use the guest account

    I cannot acess my main profile and you must use the guest account

    Hello

    There may be several error messages and/or other conditions however these methods
    should help you regain access.

    If you suspect any malware, a system restore is an option:

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
    ---------------------------------------------------------------------------------------------------------------------------

    Other methods:

    You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. The ADMIN account in trunk
    Mode has no default password (unless someone has changed the password so it should be available).

    Some programs such as the updated Google (if you added the toolbar Google, Chrome or Google Earth)
    has been known to cause this problem.

    Error message when you log on a Windows Vista-based or Windows 7 using computer a
    Temporary profile: "the user profile Service has no logon. Unable to load the user profile.
    http://support.Microsoft.com/kb/947215

    How to fix error "the user profile Service has no logon. User profile cannot be loaded. »
    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    How to fix error "your user profile was not loaded correctly! You have been connected with a
    temporary profile. "in Vista
    http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.html

    BE VERY CAREFUL IF YOU USE THIS ONE:

    DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrupts you are TOAST.

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    Use the Admin account hidden to lower your user account APPLY / OK then wear again to
    ADMIN. This allows clear of corruption. Do the same for other accounts if necessary after the
    above message.

    You can use the hidden - administrator account to make another account as an ADMINISTRATOR with your same
    password (or two with the same password) use a test or difficulty to another.

    You can run the Admin account hidden from the prompt by if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    If you cannot access your old account, you can still use an Admin to migrate to another (don't forget
    always leave to an Admin who is not used except for testing and difficulty account).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    I hope this helps.

  • Get the message: "You must use this file" when trying to compress the files saved on the desktop

    Original title: to compress my files that I have saved on my desktop.

    I get this error after I do a right-click and "send to" compress a file...

    "you must use this folder.

    So, what should I do?

    Hi thegardengrand,

    This happens usually if all files in the folder or the folder is used by all programs that are running in windows.

    You can check if it is used by another program, then that and close then try to zip.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Error - you must use an account with administrator privileges to install Windows 8.1

    Original title: Windows 8 installs 8.1 Windows Update even though I am the administrator

    Hello, I recently brought an Alienware X 51 with Dell Windows 8, I installed all the updates, now that I see the Windows 8.1 update in the store, I clicked on it and I clicked on download it came with this message.

    Store

    You must use an account that has administrator privileges to install Windows 8.1. try to connect with the user of an administrator on this PC account and retry the update

    now, I understand that I am the administrator of my PC and the only administrator of my PC anyway I signed on my Microsoft Account that I use for my PC and signed again the problem is the message came again and continues to come and I cannot update my Alienware X 51 with Windows 8 and Windows 8.1 if someone could help me solve this problem , it would be very useful and that they would have my gratitude.

    Hello

    I've read reports that uninstalling Windows Update KB2871389, and then put it back solves the problem.

    I read recently that this Fix - It might help...

    http://support.Microsoft.com/kb/971058/en-us

    I noticed an update of windows has posted recently for my 8.1 Win correct problems with the store...

    You can check to see if she shows up to win 8 also... I can't remember the number of KB unfortunately.

  • Error message "You must use an account with administrator privileges to install windows 8.1..." When you try to download Windows 8.1

    ORiginal title: cannot download Windows 8.1 due to problems of administrator

    Hello

    I just got a new laptop, Dell Inspiron 15R with pre-installed Windows 8. Aware of the Windows 8.1 update I logged on my account (which represent the highlights of settings I have administrative privileges) has sailed to the store windows and clicked on the download tab Update button. I received this error message that I couldn't fix:
    "You must use an account with administrator privileges to install windows 8.1." Try connecting with the user of an administrator on this PC account and retry the update"
    I am the only user of this computer and as such am probably the only person capable or able to be an administrator. Does anyone have a solution?
    Thanks in advance.

    Hi Paul,.

    Uninstall the update of KB2871389 and then manually download and install it can help get the problem solved.

    Perform the steps suggested by anon_no_name from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows8_1-windows_install/Windows-81-will-not-download-from-the-store/d3c57b8b-ACD2-4BD9-82e4-1b51b206e311

    Note: Click on the below link to download and install the update manually

    http://support.Microsoft.com/kb/2871389/en-us

    Answer please if you have any questions.

Maybe you are looking for