Changing the Default Database - SQL Server
The following sample T-SQL statement will change the default database for the specified user.
alter login [federated\b051pkj] with default_database = FedRPL