Connect different Windows User in SQL Server Management Studio (2005 or later)

后端 未结 9 1886
我寻月下人不归
我寻月下人不归 2020-11-30 16:03

Is there a way in SQL Server Management Studio 2005 (or later) to change the Windows Authentication user (as you could in SQL Server 2000 and older)?

This is the gen

9条回答
  •  悲哀的现实
    2020-11-30 16:26

    A bit of powershell magic will do the trick:

    cmdkey /add:"SERVER:1433" /user:"DOMAIN\USERNAME" /pass:"PASSWORD"
    

    Then just select windows authentication

提交回复
热议问题