Re: changing db location on sql2000



Thanks Ekrem. Every time I see that option, I forget about it. :)

--

Kevin3NF
SQL Server dude

You want fries with that?
http://kevin3nf.blogspot.com/

I only check the newsgroups during work hours, M-F.
Hit my blog and the contact links if necessary...I may be available.



"Ekrem Önsoy" <ekrem@xxxxxxxxxxxx> wrote in message
news:0C3950BB-B5D1-465B-B1FC-920C8F33F81C@xxxxxxxxxxxxxxxx
Open Enterprise Manager and connect to your SQL Server 2000 Instance. Go
to Server Properties by right clicking on the Instance name and go to
"Database Settings" tab in the SQL Server Properties window. You'll see
the default data and log directories setting at the bottom of the window.

You can change the default locations of your new databases using this
setting.

--
Ekrem Önsoy



"cj" <cj@xxxxxxxxxxxxx> wrote in message
news:uD%239bLZbIHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
I think I'll stick to righ clicking for now. That works, I managed to
copy the database I need moved. Do you know how to change the default
location it saves new databases?

Kevin3NF wrote:
Right click the datbase, all tasks, detach database. Move the files to
D. Right click "Databases", all tasks, attach database

Or you can do the same things with sp_detach_db and sp_attach_db if you
are happier in code




.



Relevant Pages

  • Re: FCB::RemoveAlternateStreams: Operating system error (null)
    ... Thanks for all your help Ekrem, even if your sugestion does not solve the ... in this edition of SQL Server the ... database so it's opened again and you get this error somehow. ...
    (microsoft.public.sqlserver.setup)
  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)
  • Re: MS Access DAO -> ADO.NET Migration
    ... full SQL Server and I see the logic you explained in a multi user ... allow two users to access the same database file Read/Write at any given ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MS Access DAO -> ADO.NET Migration
    ... For that it is much harder to handle the incremental identifier, ... database but although they have the data, they are not connected at the same ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... SQL Server Management Studio is nowhere to be found on my ...
    (microsoft.public.dotnet.framework.adonet)