Reputation: 11
I have a subscription that calls a ‘After Refresh’ User-Exit stored procedure from Management Console. Now, I can access various system variables like source and target table names using ‘s$srcTabId’ and ‘s$tgtTabId’ respectively. But I could not find a variable, system or journal, that gives me the source schema name. Is there any way to access the source schema name from stored procedure?
Upvotes: 0
Views: 25
Reputation: 24
Unfortunately, this is not available for the platforms you are using. Below is a link to the fields supported:
Given this, a (admittedly not great) work-around would be to have a script on the source which gets the tables schema names and writes it to a table that is mirrored to the target. You could then do a look up on this target table.
Upvotes: 1