VLD-2769 when trying an update in STG from ODS

LS,
I would like to update a table in STG after processing in ODS. Unfortunately, this results in VLD-2769, saying that a database link is not allowed for the chosen data target (table on which the update needs to be performed).
I know that all DML can be issued over a database link, so why this error?
Are there certain properties that need to be set/altered, connectors to be specifically defined (in the dev-environment, STG and ODS are in the same schema on the same DB, but in prod-env this might be separated).
Thanks in advance.
Cheers, Patrick

Hi everyone
If you are using 9.2 there is a solution that avoids a database link. However, this solution ONLY works if the schema to which you are trying to write is in the same database as the schema which owns the map.
What you do is this:
1. Right click on the map that has the issue
2. From the popup menu select Configure
3. Expand the sub menu called Sources and Targets
4. Find the table that you are trying to update via the database link
5. You will see that in the column called Bound Name is the name of the table, but look at the column called Schema - it will be blank
6. In the column called Schema type in the name of the schema which really owns the table
7. Save the definition and commit the changes
8. Go to SQL Plus or OEM and log in as a system DBA or owner of the table which needs updating, and grant the permissions on that table to the user who owns the map:
GRANT INSERT ON table_name TO map_user
GRANT UPDATE ON table_name TO map_user
and so on.
9. Commit the database changes
10. Try deploying your map - you will no longer get an error but you will get a warning that the database link is no longer being used - ignore the warning and the map will deploy and be able to execute ok
Hope this helps
Regards
Michael

Similar Messages

Maybe you are looking for