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: Rename table problem

Re: Rename table problem

From: Mark Richard <mrichard_at_transurban.com.au>
Date: Wed, 18 Feb 2004 15:00:41 +1100
Message-ID: <OF4A0DD9F2.C469452E-ONCA256E3E.0015E835@transurban.com.au>

Yes,

This was covered on this list quite recently. Try:

alter table otheruser.table_name rename to new_table_name;

Your mistake is putting the schema infront of "new_table_name". This is not needed since you can't change the schema owner with a rename statement and therefore the parameter is not allowed.

Regards,

      Mark.

                                                                                                                                       
                      Viktor                                                                                                           
                      <stant_98_at_yahoo.co        To:       oracle-l_at_freelists.org                                                       
                      m>                        cc:                                                                                    
                      Sent by:                  Subject:  Rename table problem                                                         
                      oracle-l-bounce_at_fr                                                                                               
                      eelists.org                                                                                                      
                                                                                                                                       
                                                                                                                                       
                      18/02/2004 13:43                                                                                                 
                      Please respond to                                                                                                
                      oracle-l                                                                                                         
                                                                                                                                       
                                                                                                                                       




Hello,

Is it possible for one user to rename a table in another user's schema, Oracle 8.1.7?

I kept getting
ORA-01765: specifying table's owner name is not allowed

Are there any workarounds?

Thanks



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------






<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------
Received on Tue Feb 17 2004 - 22:00:41 CST

Original text of this message

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