Q

Issuing a truncate tablename

I am implementing a PeopleSoft EPM solution. The product uses Informatica, which wants to truncate a table in the SYSADM schema. I have created an ID "infoID" and granted that ID "DROP TABLE" system privileges. As long as infoID gives a fully qualified name (TRUNCATE SYSADM.tablename) it works. However, there is no way to tell Informatica it has to use a fully-qualified name. Can you tell me how to set up the infoID so that it can issue a truncate tablename without having to give a fully-qualified name.
There are a few possible solutions that come to mind. First, set up a SYNONYM that INFOID owns that points to the SYSADM table. Then, when Informatica tries to truncate the "table" it will be using the synonym that points to the correct table instead. Another solution which may or may not be possible is to create a stored procedure to truncate the table and have Informatica just execute that procedure instead of truncating the table.
This was first published in January 2004

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close