Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: alter table rename error

RE: alter table rename error

From: Mark Richard <mrichard_at_transurban.com.au>
Date: Thu, 15 Jan 2004 16:34:25 -0800
Message-ID: <F001.005DCF36.20040115163425@fatcity.com>

Jerry,

Not true. With the right permisssions it is defintely possible to rename someone else's objects. Connect as system and try to rename scottt's tables - definitely possible. I just tried it against Oracle 8.1.7.4, and we actually used it during some migrations to a production environment only a month ago.

Regards,

      Mark.

PS: No schema for the second name though - that would be changing the actual owner, not just renaming. Putting the owner in (even if it's the same owner) will cause an error to be raised.

                                                                                                                                       
                      "Whittle Jerome                                                                                                  
                      Contr NCI"                To:       Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                  
                      <Jerome.Whittle_at_sc        cc:                                                                                    
                      ott.af.mil>               Subject:  RE: alter table rename error                                                 
                      Sent by:                                                                                                         
                      ml-errors_at_fatcity.                                                                                               
                      com                                                                                                              
                                                                                                                                       
                                                                                                                                       
                      16/01/2004 08:34                                                                                                 
                      Please respond to                                                                                                
                      ORACLE-L                                                                                                         
                                                                                                                                       
                                                                                                                                       




Eric,

No schemas allowed. Take out both of the scott. You need to be logged in as Scott to rename Scott's tables.

Jerry Whittle

ASIFICS DBA NCI Information Systems Inc.

jerome.whittle_at_scott.af.mil

618-622-4145

      -----Original Message-----

      From: eric king [SMTP:erickingus_at_hotmail.com]

      Just try to rename table and get this error, anyone knows what this
      error is?


      alter table scott.emp rename to scott.employee


      ORA-14047: ALTER TABLE|INDEX RENAME may not be combined with other
      operations


      eric









<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (03) 9612-6999 or (61) 3 9612-6999. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Transurban Infrastructure Developments Limited and CityLink Melbourne Limited shall be understood as neither given nor endorsed by them.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mark Richard
  INET: mrichard_at_transurban.com.au

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jan 15 2004 - 18:34:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US