I’m creating a new universe with BO XI 3 , database Oracle 9 .
This data base has a huge number of tables, so it’s impossible to display them all in the table list. So , I created an external strategy to display only the one I need, ie only the one begining by FIN…
Then, I need another table, but only reachable by the sysdba. So, in order to reach it from my user , I created a synonym. This sounds ok because I try to reach it from and it’s working.
So I changed the SQL code in my external strategy , in order to display it in the table list. But I see nothing. I tried a workaround I ve seen here which to create a derivated table (select * from my_synonym) but this doesn’t work .
Does someone has an idea of the origin ? Bad connexion with the database? PRM problem? access right in the oracle database?
Here is the code, I’ve added in the oracle.stg file (the second part of the union is not working, the part with the synonym):
SELECT
'FINPROD','|',
'APPS','|',
TAB.TABLE_NAME,'|',
TAB.COLUMN_NAME,'|',
'','|',
'Y','|'
FROM USER_TAB_COLUMNS TAB
WHERE upper(TAB.TABLE_NAME) like 'FND%'
union
SELECT
'FINPROD','|',
'SYS','|',
S.SYNONYM_NAME,'|',
TAB.COLUMN_NAME,'|',
'','|',
'Y','|'
FROM ALL_TAB_COLUMNS TAB, USER_SYNONYMS S
WHERE upper(S.SYNONYM_NAME) like 'BO_%'
and S.TABLE_NAME = TAB.TABLE_NAME
ok but I add some info about the code I use in the stg file. I think this may be an interesting information for explaining my problem. This was not only “up”
Hello,
The oracle.prm had to have the ‘owner’ parameter set to ‘N’ in order for the synonyms to appear in the table browser.
The synonyms are public.
Now the Designer table browser is very slow to laod the tables as now it bring in all the public synonyms (ove 16,000). My contact with the DBA group doesn’t know how to restrict/limit access to the public synonyms for a specific oracle account.
any suggestions on how to limit access to the public synonyms?