Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default database
Message
From
15/01/1999 09:40:08
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00175617
Message ID:
00176466
Views:
38
>>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform