Re: changing db location on sql2000



Yes....specify it when you create the database. The default that pops up in
the GUI is based on where teh model database is, if I remember correctly.
SQL 2008 allows this to be set at install-time....very cool new feature for
those of us with hundreds of SQL installs :)

--

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.



"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: CREATE AGGREGATE failed because type Concatenate does not conform to UDAGG specification due to
    ... Go to the Database tab and click on the browse button next to the connection string. ... In the New Database Reference dialog, enter the details for the database where you want to deploy the assembly and create the user defined aggregate. ... I'm trying to do some CLR integration with sql server 2005. ...
    (microsoft.public.sqlserver.programming)
  • CREATE AGGREGATE failed because type Concatenate does not conform to UDAGG specification due to meth
    ... Now register the assembly and the aggregate in the SQL Server database you want ... I'm trying to do some CLR integration with sql server 2005. ...
    (microsoft.public.sqlserver.programming)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... But SQL does not have a pointer data type or the ... > being told to design a database. ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)
  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... a surrogate key should support the primary key. ... But SQL does not have a pointer data type or the ... > being told to design a database. ...
    (comp.databases.theory)

Quantcast