Step-by-step instructions to change the default database on a SQL Server login:
- Grant the user with right to the database you want to set as the default database (see this Knowledge Base article)
- Connect to the database using SQL Server Management Studio using the login you wish to change
- Click New Query Button
- Execute the following command:
Alter login <loginname> with default_database = <name of default database>
Article ID: 194, Created On: 11/13/2008, Modified: 11/2/2010