NEWS

Tuesday, May 24, 2011

Change default database in sql server 2008

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 login with default_database =

No comments:

Post a Comment