Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default database
Message
De
15/01/1999 09:40:08
 
 
À
15/01/1999 09:29:34
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00175617
Message ID:
00176466
Vues:
40
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform