• I'll second Thom's advice. This is asking for trouble and a poor habit.

    Please create a new account that has limited access to what is needed. Use that. The password in code is a bad idea as well, but I understand restrictions and problems in the short term. It's best to at least limit the account. Longer term, you ought to use a linked server here.