Hi,
I have a connection to server A and from there, I have access to a set of views that are behind a database link.
All the queries I can do follow have the following semantic:
SELECT CODE, DESCRIPTRION
FROM STUDENT@DBLINK_DEV
but then in production it will be
SELECT CODE, DESCRIPTRION
FROM STUDENT@DBLINK_PRD
Is there any clean solution to have the dblink in a parameter without having to use a SQL statement inside package variable?
Thank you