Alias for MS-SQL DataSource(s) names

check this thread out.

Another way to do it

Business Variable plugin to list environments

Then in your query reference {enviro} variable to select the proper environment.