|
(select @@servername from OPENDATASOURCE('SQLNCLI', 'Data Source=Servername ;Integrated Security=SSPI') .DBNAME.dbo.BSC ) For the above query i need to parameterised the 'Data Source=Servername . How it can be done .
(comments are locked)
|
|
You can use dynamic sql for that
(comments are locked)
|


@Jhunu Just in case you missed it, for the whole month of May, accepting an answer will add 50 points to the profile. Your profile shows that if you start accepting answers to your questions, you can certainly get more than 500 points :)