San_thi
San_thi

Reputation: 103

How to create a new SQL Database on different drive

I have installed SSMS 2014 recently on my new machine, installations are in C: but my C: is not having that much enough space, so I need to create the new database on D:. Please help me on how can I do that ?

Upvotes: 5

Views: 13899

Answers (1)

HaveNoDisplayName
HaveNoDisplayName

Reputation: 8517

you can set the path of .mdf, and .ldf file while creating the new databse. See the Red Arrow pointer. You can choose here your D drive path.

Steps:- Open SQL Server Management Studio >> Right Click on Database >> Choose New Database >> Then below dialog box will be shown.

enter image description here

Upvotes: 10

Related Questions