How to change the default database on a SQL Server login:
1.Grant the user with right to the database you want to set as the default database (see this Knowledge Base article)
2.Connect to the database using SQL Server Management Studio with the login you wish to change
3.Click New Query Button
4.Execute the following command:
Alter loginwith default_database =
1.Grant the user with right to the database you want to set as the default database (see this Knowledge Base article)
2.Connect to the database using SQL Server Management Studio with the login you wish to change
3.Click New Query Button
4.Execute the following command:
Alter login
No comments:
Post a Comment