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

I hit this issue while I was trying to rename table (or index) name on 11.2.0.4 database.

Symptoms is:

I use a simple command as following;

alter table [prev_tablename] rename to [last_tablename]

If We put into schema names to this command, We can deal with ORA-14047 error.

The error raises when I put the schema name in front of the last_tablename.

SQL> alter table hr.[prev_tablename] rename to hr.[last_tablename] >>>  Its give ORA-14047

Solution:

SQL> alter table hr.[prev_tablename] rename to [lasttable_name]

 

Reklam


Bir Cevap Yazın

Aşağıya bilgilerinizi girin veya oturum açmak için bir simgeye tıklayın:

WordPress.com Logosu

WordPress.com hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap /  Değiştir )

Facebook fotoğrafı

Facebook hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap /  Değiştir )

Connecting to %s

%d blogcu bunu beğendi: