Home Forums SQL Server 2012 SQL Server 2012 - T-SQL force using a specific SQL Server/Instance in T-SQL RE: force using a specific SQL Server/Instance in T-SQL<!-- 864 -->
SQLnbe
SSChasing Mays
Points: 601
More actions
August 20, 2014 at 11:31 am
#1739676
@jim got it. I'll work with checking the @@ServerName and maybe use the SQLCMD snippet to see if I can come up with a combination that checks before that I'm connected to the proper instance before executing.
thanks for help guys 🙂