e.g.
select *
from v_schema || '.tbl_a@' || abc.world
e.g.
select *
from v_schema || '.tbl_a@' || abc.world
You can use dynamic sql:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/dynamic.htm .
To protect against sql injection you can use dbms_assert
:
http://www.oracle-base.com/articles/10g/dbms_assert_10gR2.php
-- Dynamic SQL
execute immediate 'select * from ' || v_schema || '[email protected]';