Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Clean solution to use Database Links in OLEDB source

$
0
0

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

 


Viewing all articles
Browse latest Browse all 24688

Trending Articles