Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 how can specify location for new database file

Author  Topic 

rajeevAmb
Starting Member

2 Posts

Posted - 2011-03-13 : 07:34:43
how can i specify the location for database file while creating a new database.

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-03-13 : 08:46:33
Look up the syntax for CREATE DATABASE in Books Online (SQL help file). You can specify number, name and location of files.

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -