Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can I run SDO_Migrate.to_current on synonyms?

user13797179Apr 9 2014 — edited Apr 9 2014

When running the SDO_Migrate on synonyms, I am getting the following error. The synonym exists for table and an entry exists in user_sdo_geom_metadata for the table.

  Error occurs when executing the SQL string:

  "execute sdo_migrate.to_current('<tablename>')"

  ORA-13261: geometry table <tablename> does not exist

I found that the original schema (say A) which contained this table can run the SDO_Migrate.to_current, however, when I created a public synonym and tried to run the sdo migrate from the new schema (Say B), I am getting this error. All grants have been given to the new Schema (B). Also the synonym name and the tablename are the same.

The new schema (B) does not have any tables, nor does it have privileges to create new tables. I cannot change the schema behavior, however I need a way to migrate the table from the new schema (B).

Any required grants on the table can be given to new Schema, however the new schema cannot create or alter tables.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 7 2014
Added on Apr 9 2014
1 comment
644 views