Unable to rename table

oracle version: 10.2.0.4.0
SQL> alter table ai_xx rename to ai_xx_old;
alter table ai_xx rename to ai_xx_old
ERROR at line 1:
ORA-00942: table or view does not existThe table is valid and exists
SQL> select 1 from schema.ai_xx where rownum < 2;
         1
         1These are the privileges the user executing this command has:
PRIVILEGE                                ADM
ADMINISTER DATABASE TRIGGER              NO
ALTER ANY CLUSTER                        NO
ALTER ANY DIMENSION                      NO
ALTER ANY INDEX                          NO
ALTER ANY INDEXTYPE                      NO
ALTER ANY LIBRARY                        NO
ALTER ANY OUTLINE                        NO
ALTER ANY PROCEDURE                      NO
ALTER ANY SEQUENCE                       NO
ALTER ANY SQL PROFILE                    NO
ALTER ANY TABLE                          YES
PRIVILEGE                                ADM
ALTER ANY TRIGGER                        NO
ALTER ANY TYPE                           NO
ALTER SESSION                            NO
ALTER USER                               YES
ANALYZE ANY                              NO
COMMENT ANY TABLE                        NO
CREATE ANY CLUSTER                       NO
CREATE ANY CONTEXT                       NO
CREATE ANY DIMENSION                     NO
CREATE ANY DIRECTORY                     NO
CREATE ANY INDEX                         NO
PRIVILEGE                                ADM
CREATE ANY INDEXTYPE                     NO
CREATE ANY JOB                           NO
CREATE ANY LIBRARY                       NO
CREATE ANY OUTLINE                       NO
CREATE ANY PROCEDURE                     NO
CREATE ANY SEQUENCE                      NO
CREATE ANY SYNONYM                       NO
CREATE ANY TABLE                         NO
CREATE ANY TRIGGER                       NO
CREATE ANY TYPE                          NO
CREATE ANY VIEW                          NO
PRIVILEGE                                ADM
CREATE CLUSTER                           NO
CREATE DATABASE LINK                     NO
CREATE PROCEDURE                         NO
CREATE PUBLIC SYNONYM                    NO
CREATE SEQUENCE                          NO
CREATE SESSION                           NO
CREATE SYNONYM                           NO
CREATE TABLE                             NO
CREATE TRIGGER                           NO
CREATE USER                              NO
CREATE VIEW                              NO
PRIVILEGE                                ADM
DEBUG ANY PROCEDURE                      NO
DEBUG CONNECT SESSION                    NO
DELETE ANY TABLE                         YES
DROP ANY CLUSTER                         NO
DROP ANY CONTEXT                         NO
DROP ANY DIMENSION                       NO
DROP ANY DIRECTORY                       NO
DROP ANY INDEX                           NO
DROP ANY INDEXTYPE                       NO
DROP ANY LIBRARY                         NO
DROP ANY OUTLINE                         NO
PRIVILEGE                                ADM
DROP ANY PROCEDURE                       NO
DROP ANY SEQUENCE                        NO
DROP ANY SYNONYM                         NO
DROP ANY TABLE                           NO
DROP ANY TRIGGER                         NO
DROP ANY TYPE                            NO
DROP ANY VIEW                            NO
DROP PUBLIC SYNONYM                      NO
EXECUTE ANY CLASS                        NO
EXECUTE ANY INDEXTYPE                    NO
EXECUTE ANY LIBRARY                      NO
PRIVILEGE                                ADM
EXECUTE ANY PROCEDURE                    NO
EXECUTE ANY PROGRAM                      NO
EXECUTE ANY TYPE                         NO
FLASHBACK ANY TABLE                      NO
FORCE TRANSACTION                        NO
GLOBAL QUERY REWRITE                     NO
GRANT ANY OBJECT PRIVILEGE               YES
INSERT ANY TABLE                         YES
MANAGE FILE GROUP                        NO
MANAGE SCHEDULER                         NO
ON COMMIT REFRESH                        NO
PRIVILEGE                                ADM
QUERY REWRITE                            NO
SELECT ANY DICTIONARY                    NO
SELECT ANY SEQUENCE                      NO
SELECT ANY TABLE                         YES
UNLIMITED TABLESPACE                     NO
UPDATE ANY TABLE                         YES
83 rows selected.Is there a missing privilege to be added for rename to work?.
Thanks

user1980 wrote:
oracle version: 10.2.0.4.0
SQL> alter table ai_xx rename to ai_xx_old;
alter table ai_xx rename to ai_xx_old
ERROR at line 1:
ORA-00942: table or view does not existThe table is valid and exists
SQL> select 1 from schema.ai_xx where rownum < 2;
1
1These are the privileges the user executing this command has:
<snip>
Is there a missing privilege to be added for rename to work?.
ThanksIt's not an issue of privileges, its an issue of name resolution. If you specify only the table name (RENAME A_TABLE), it will only look for A_TABLE within the currently connected user's schema. You need to either connect as the owner of the table, or qualify the name.

Similar Messages

  • ORA-20079:  WM internal error [unable to rename table]

    Hi,
    I am getting following error when i try to enable versioning on a table. Any idea how to resolve it ?
    BEGIN DBMS_WM.EnableVersioning('TestTable'); END;
    ERROR at line 1:
    ORA-20079: WM internal error [unable to rename table]
    ORA-06512: at "SYS.LTDDL", line 1615
    ORA-06512: at "SYS.LTDDL", line 1193
    ORA-06512: at "SYS.LT", line 647
    ORA-06512: at "SYS.LT", line 8024
    ORA-06512: at line 1
    thanks
    -na

    Hi,
    You need to determine the original error that is being generated by oracle. This can be done by attempting to rename the table yourself. For example:
    SQL> alter table TestTable rename to RenamedTable ;
    That will give you a better understanding as to why Workspace Manager is unable to rename the table. Also, what version of the database and workspace manager are you using ?
    If the direct rename succeeds while enableversioning continues to fail, then you would need to file a TAR on this.
    Regards,
    Ben

  • Rename Tables in Numbers 3.0

    I've been using Numbers '09 for several years, and I have one spreadsheet that has 2 sheets (2012, 2013) and each sheet has multiple tables.  In Numbers '09, I was able to copy and entire tables, and after the paste it would have the same name as the previous table.  i.e. Original table would be called Oct 12-13, and the Pasted Table would then be called Oct 12-13-1.  I could then rename the Table to Oct 19-20.  In Numbers 3.0, I am unable to rename tables. 
    Has anybody been able to find a way to rename individual tables on a sheet?

    Hi dbutlerman,
    That confused me too at first. In Numbers '09 I figured out how to display and change the name in the Table Inspector.  In Numbers 3.0 I couldn't find how to change the name in the Table pane at the right.
    But I tried doubleclicking the table name itself on the sheet and found I could edit it right there. 
    For me, more intuitive and convenient than Numbers '09.
    SG

  • Unable to rename or save changes to Access Reports Access 2010

    Unable to rename or save changes to access reports in Access 2010
    This just started
    Tried changing report name, rename is allowed but does not save
    If change made to report does not save
    If trying to save as new report name error given saying name conflicts
    Queries and tables work fine
    Database file resides on server and this happens on all PCs, tried local copy to local machine and that has same problem, compact and repair completes but still same problem
    Any help welcomed

    Is the setup 1 Back end on the server, and 1 each Front end on each PC?
    peter n roth - http://PNR1.com, Maybe some useful stuff

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • In Mail on macbook pro. unable to rename the mailboxes because the "rename mailbox" option is not highlighted

    in Mail on macbook pro. unable to rename the mailboxes because the "rename mailbox" option is not highlighted.
    Thanks Jim...........

    Thank you SO much. Everything I had tried just expanded the size of each columns. Finding that slender area to the right of the message columns was tricky, but it worked. Wish that was more intuitive.
    Thanks again.

  • Unable to retrieve tables from this connection

    I have been using Dreamweaver for over 5 years. I have been
    using an Access database and ASP the entire time. I am using a
    Windows 2000 server for the database and web site. I have used
    every verson of Dreamweaver since Ultra Dev. When I bought verson 8
    and upgraded to 8.0.2, I began getting the following message when I
    try to edit or create a recordset.
    "Unable to retrieve tables from this connection, click on the
    'Define...' button to test this connection."
    I don't know what to do. Is this a widespread problem? Is it
    a Windows problem? Is it a Dreamweaver problem? Is it a network
    problem?
    Please HELP!

    Did you ever get an answer for this ?
    I am having the same issue but using XP professional.

  • Unable to Query Table

    Hi Folks,
    I'm stuck in weird situation. User complaints fetching data from table A is timing-out ( as per application standards). I decided to collect latest statistics(dbms_stats) on index used by query which is running for more than 12 hours. Ideally which should not.It is partition table and got close to 10 millions records.
    1) I checked dba_waiters - no rows
    2) I checked v$locked_object/v$locks - no rows
    3) I'm unable to run explain-plan for any criteria on that table
    4) I'm unable to open table data-tab in Toad/ Sql developer.
    5) I'm unable to query a single partition; no error but it keeps on running.
    SQL> SELECT * FROM SSAM_TRANS_FACT PARTITION (P20101010S01);

    Again, anything in alert.log? Any trace files? What happens if you issue:
    select 1 from ssam_trans_fact where rownum = 1;What happens when you issue:
    select 1 from ssam_trans_fact partition(P20101010S01) where rownum = 1;SY.

  • Unable to extend table

    Hi All,
    I have Oracle 8i installed on Redhat 7.3
    I am trying to import from a large dmp file (10 GB). Initially I was getting error related to "unable to extend datafile", which I got over by creating multiple datafiles with size 2GB each. Thanks to the help provided on this list.
    But now I ran into another error that reads as following:
    IMP-00058: ORACLE error 1653 encountered
    ORA-01653: unable to extend table XXX.XXX_DAT by 311072 in tablespace YYY
    IMP-00017: following statement failed with ORACLE error 1031:
    "CREATE TRIGGER "USERME".XXX_BI before insert"
    I have created enough datafile and I have 60 GB available space on the drive. Please guide me as to what am I doing wrong here, and how could I get over this problem.
    Thanks.
    Amit

    Hi Joel,
    Thanks for your time.
    I have already done that part before I started import. The user has unlimited quota on the tablespace. But the problem still shows up.
    By the way, I have multiple dmp files, I could import the first dmp file, but this error shows up while doing the import for the next dmp file, which should just append the data to the existing table. I am sorry, I should have mentioned this before.
    Please advise.
    -Amit

  • Unable to import table or columns in OBIEE 11G RPD

    Hi All,
    We are unable to import table into the RPD using OCI 10G/11G to import the table then the import box open but we are unable to see the tables below the schema name. When we use ODBC 3.5 and created a DSN for the database then we are able to see all the tables and import them. But the problem here is that when we are using window server 7 64 bit to install client and then importing the table ODBC is not working fine as well.
    Please note that we are using OBIEE 11G which is installed on unix box and we connect to RPD using client installed on windows server.
    Appreciate all the help in advance.
    Thanks,
    Mohit

    Hi Sayak,
    This means we need to installed Oracle client to resolve this problem. Can you please share if you have some knowledge regarding the same.
    Thanks,
    Mohit

  • System error: Unable to lock table/view V_T077K_M

    Hi,
    Not able to work on field selection (OMSG) i am getting an error "System error: Unable to lock table/view V_T077K_M" checked in SM 12 also, but dint get there anything.
    please cud you help me in this regard,

    contact your basis team,  there might be an overflow of the lock table because of mass changes from other users (even for other tables)

  • Unable to view table list in sql developer

    I am able to connect to the database through sql developer but unable to view tables list.
    Select query is displaying the contents though.
    Any Help ???

    Using SQL Developer, I log in using the owner user id and password. I can see all but one of my materialized views. It was definitely created by the user id I'm logged in as. A query of user_objects in sql+ shows all MVs, including the one that's missing in SQL Developer. If I log in using the same credentials in TOAD, the MV is displayed in the current schema, as I'd expect. The super weird thing is that if I use the previous version of SQL Developer, I see that MV! Any thoughts?
    Edited by: [email protected] on Feb 25, 2009 9:19 AM

  • Unable to extend table SYS.yyy_xx1$ by 8192 in tablespace SYSTEM

    While trying to compile a package with lots of objects i am getting the below error message.
    Oracle 11gr2
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01653: unable to extend table SYS.yyy_xx1$  by 8192 in tablespace SYSTEM
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    How can i resolve the issue

    Result of query
    select -- file_name
         blocks
         , maxblocks
         , status
         , autoextensible
      from dba_data_files
    where tablespace_name = 'SYSTEM';
    4194302
    4194302
    AVAILABLE
    YES
    4194302
    4194302
    AVAILABLE
    YES
    4194302
    4194302
    AVAILABLE
    YES
    262144
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    0
    AVAILABLE
    NO
    524288
    524288
    AVAILABLE
    YES
    524288
    524288
    AVAILABLE
    YES
    518400
    524288
    AVAILABLE
    YES
    517120
    524288
    AVAILABLE
    YES
    655360
    0
    AVAILABLE
    NO
    655360
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO
    262144
    0
    AVAILABLE
    NO

  • Cdparanoia 004: Unable to read table of contents header

    Hi. I've been trying to rip wavs with grip but it was unable to locate any audio cd even though I could explore it from my desktop (xfce 4.10) and I am part of the optical group. Because of this, I tried running cdparanoia from the terminal.
    Running the next command: cdparanoia -vsQ displays the next warning:
    cdparanoia III release 10.2 (September 11, 2008)
    Using cdda library version: 10.2
    Using paranoia library version: 10.2
    Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for SCSI/MMC interface
            SG_IO device: /dev/sr0
    CDROM model sensed sensed: ASUS DVD-E616P3H 1.04
    Checking for SCSI emulation...
        Drive is ATAPI (using SG_IO host adaptor emulation)
    Checking for MMC style command set...
        Drive is MMC style
    004: Unable to read table of contents header
    Unable to open disc.  Is there an audio CD in the drive?
    if I try to listen a track from an external application like mplayer it won't play any audio but if I manually locate the audio and choose them an application to play, they will. Also, the hardware itself is functional since I ripped music from a debian squeeze (dvd) installation.
    Finally If it's useful, I used gvfs and exec ck-launch-session dbus-launch startxfce4 in my .xinitrc to mount usb and other devices automatically
    Thanks in advance

    You removed all mailboxes (.mbox files) located within this problem account named folder at Home > Library > Mail and the same occurs when re-launching Mail?
    The TableofContents file is a package file for a .mbox so it is hidden.
    I'm not sure how you removed all mailboxes for this account but quit Mail first and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account). Move the account named folder to the Desktop.
    Launch Mail and if it launches successfully without locking up and quitting, a new account named folder will be created automatically by Mail within the account named folder.
    All email clients have limits and the recommended size limit for a Jaguar or Panther mailbox is 1GB and for Tiger Mail, 2GB.
    An "overstuffed" mailbox issue can occur at any mailbox size (which means the mailbox has some corruption and/or is over the recommended size limit) but is more likely to occur depending on the number and size of message attachments contained in a mailbox and especially as a Jaguar or Panther mailbox approaches or exceeds 1GB in size.
    Since an account's Inbox mailbox is usually the most active mailbox, it is not a good idea to use an account's Inbox mailbox as the final storage location for all received messages not deleted.

  • Error: Mail was unable to rename ....

    I have a few mailboxes in On My Mac that contain a couple of levels of subfolders. I'm not having any trouble accessing messages in these mailboxes, but when I try to move or rename some of these folders I get an error message that says I'm unable to rename the mailbox. If I try to rename "Mailboxname" to "OtherName", for instance, I get the message:
    Error: Mail was unable to rename "~Library/Mail/Mailboxes/Personal/Saved Mail/Archive/Mailboxname
    While the error dialog is present, the display name of the folder in the sidebar changes to:
    Mailbox "OtherName" does not exist
    When I dismiss the error, the mailbox name reverts to Mailboxname.
    Another oddity, sometimes, I'm unable to delete existing mailbox. I right click on them, select Delete Mailbox, confirm the deletion when prompted, and the mailbox is still there.
    Any suggestions for how I can address this?
    I've tried rebuilding the mailboxes that can't be renamed, and I've run the vacuum command in Terminal, but nothing seems to resolve the issue.

    My guess is that Folder 1 was seen as a white folder Icon in the Sidebar, before and after subfolder 1 went missing. As a white folder, Mail could see the items apparently still contained within it. Recreating the subfolder somehow allowed the display of content from the Messages folder, that apparently survived the previous delete operation. We would have been able to go into the Finder and see this, I think, but I also think you are very lucky.
    Ernie

Maybe you are looking for