Home All Groups Group Topic Archive Search About

Selection the path of new db

Author
3 Mar 2007 6:13 AM
John
Hi

When creating a new db in Server Management Studio how can I choose the path
of the new db to F:\MyPath instead of the default?

Thanks

Regards

Author
3 Mar 2007 8:17 AM
Razvan Socol
On Mar 3, 8:13 am, "John" <J...@nospam.infovis.co.uk> wrote:
> When creating a new db in Server Management Studio how can I choose the path
> of the new db to F:\MyPath instead of the default?

The default directory for new databases is configured when installing
SQL Server. If you want to change it later, you can right click on the
server / Properties / Database Settings and change the Database
default locations.

Razvan
Author
3 Mar 2007 2:51 PM
Hari Prasad
Hello John,

The new databases will be created based on the default directory set [ Right
click above the server name in SSMS -- Choose properties -- Database
settings and see the deualt directory.
If you a differnt folder during  a new database creation then:-

1. Right click above the database in SSMS-- New Database
2. Give the new database NAME
3.Go to the file list below in the same window of New database
4. Move the cursor to the right to see the PATH option
5. There you browse and select the path u want the new database
6. Click OK.

This will create the database in the drive and directory you need.

Thanks
Hari

Show quote
"John" <John@nospam.infovis.co.uk> wrote in message
news:%23Yy8MsVXHHA.1388@TK2MSFTNGP05.phx.gbl...
> Hi
>
> When creating a new db in Server Management Studio how can I choose the
> path of the new db to F:\MyPath instead of the default?
>
> Thanks
>
> Regards
>

AddThis Social Bookmark Button