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!

workaround for no TRUNCATE with synonym

320806Aug 8 2002
Does anyone know of any workaround to not being able to truncate a
table using a synonym?

The problem is this...

There are several databases, each with a different schema owner that the
tables are created under. For all the databases, there is a synonym created
for each table name so SELECT and other commands can span databases without
having to specify the schemaowner.tablename. However, there are certain commands
like truncate which the synonym doesn't work.

Anyone with good ideas to get around this?

Thanks,
John
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2002
Added on Aug 8 2002
2 comments
631 views