all groups > sql server new users > september 2006 >
You're in the

sql server new users

group:

SQL 2005 Database Location


Re: SQL 2005 Database Location Arnie Rowland
9/26/2006 9:46:13 AM
sql server new users:
No the existing data will remain in its present location. That defines the
'default' location for new databases.

To move the current databases, see:

Moving Databases to a new location
http://support.microsoft.com/kb/224071/EN-US/


--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

SQL 2005 Database Location SW
9/26/2006 5:35:37 PM
Hi,

I installed SQL 2005 onto my D: drive but somehow the data is being stored
on my C: drive. (I only noticed this when my c: drive filled up!).
In Server Properties, there is a Default location for datafiles box. If I
just enter the desired location in there (it's currently blank) will the
existing data be transferred to the new location?

Thanks in advance,

SW

Re: SQL 2005 Database Location SW
9/27/2006 12:00:00 AM
Thank you Arnie, that's done the job.

SW

[quoted text, click to view]

Re: SQL 2005 Database Location SW
9/28/2006 12:00:00 AM
Arnie,

The "How to" article was fine for moving the user databases, but when I
tried to move the Model database, I couldn't restart the SQL Server Agent
after adding -T3608 to the start up parameters, and I also got an error
message when I tried to detach the Model database:

Location: dbmgr.cpp:6728
Expression: !FindDB(dbid)
SPID: 53
Process ID: 2872
Msg 3624, Level 20, State 1, Line 1
A system assertion check has failed. Check the SQL Server error log for
details

The SQL Server error log showed that there was a problem with Agent XPs.

Is there something else I should be doing?

Regards
SW

[quoted text, click to view]

Re: SQL 2005 Database Location Arnie Rowland
9/28/2006 8:22:57 AM
You didn't say 'system databases'. That is VERY different, as you noticed.

Here is additional information.

http://msdn2.microsoft.com/en-us/library/ms345408(en-US,SQL.90).aspx Moving
system dbs 2005
http://www.databasejournal.com/features/mssql/article.php/3379901 Moving
system DB's 2000

http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=221465 Using WITH MOVE in a Restore



--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

AddThis Social Bookmark Button