SQL> create table test_schema.foo(id integer);
Table created.
SQL> alter table test_schema.foo rename to bar;
Table altered.
SQL> alter table test_schema.bar rename to test_schema.bat;
alter table test_schema.bar rename to test_schema.bat
*
ERROR at line 1:
ORA-14047: ALTER TABLE|INDEX RENAME may not be combined with other operations
I am trying to use
op.rename_table
withold_table_name
,new_table_name
andschema
, but it is creating an incorrect SQL statement.For example,
For the method call,
op.rename_table('table_a', 'table_b', schema='tables')
Expected SQL statement to be executed:-
Actual SQL statement it is executing currently:-
The text was updated successfully, but these errors were encountered: