>>Is there a way to set the default database in the SQL Query Tool? I always end up having run my script on the master database.
>
>You can configure your SQL Server login to use your user database as the default for your login. The easiest way is to go through the EM and edit your login.
>
>You could also try using the sp_defaultdb system stored procedure.
>
>sp_defaultdb loginname, newdefaultdatabase
Thanks, I'll try that.