PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.setup > Changing Physical Drive Location of SQL Server 2005 Databases
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

Changing Physical Drive Location of SQL Server 2005 Databases

Réponse
 
LinkBack Outils de la discussion
Vieux 18/10/2006, 18h02   #1
David L. Jacobson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Changing Physical Drive Location of SQL Server 2005 Databases

Hi Gang,

Sorry for the stupid question, but I a long-time MySQL user who is new to
SQL Server. I just installed the SQL Server 2005 Standard Edition Trial on
a Windows 2003 R2 System. The install Wizard did not appear to give me an
option of where I wanted the databases to be stored (maybe I missed it) and
placed them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data. I
want to put the Data files themselves on the D: drive (which is sized for
data) and leave the program files of SQL Server as is. This is a simple
config change in MySQL, but I went through the tutorial before installing
and I can't see a simple way of doing this in SQL Server. Thank you very
much for your !

Best,

David


  Réponse avec citation
Vieux 18/10/2006, 19h24   #2
Jay B
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Changing Physical Drive Location of SQL Server 2005 Databases

what i do is detach the database, then physically move the files to the
proper folder you want, then go to attach a database, and navigate to
the new folder you are using, and you will see your database in there,
and select it.
Jay

David L. Jacobson wrote:
> Hi Gang,
>
> Sorry for the stupid question, but I a long-time MySQL user who is new to
> SQL Server. I just installed the SQL Server 2005 Standard Edition Trial on
> a Windows 2003 R2 System. The install Wizard did not appear to give me an
> option of where I wanted the databases to be stored (maybe I missed it) and
> placed them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data. I
> want to put the Data files themselves on the D: drive (which is sized for
> data) and leave the program files of SQL Server as is. This is a simple
> config change in MySQL, but I went through the tutorial before installing
> and I can't see a simple way of doing this in SQL Server. Thank you very
> much for your !
>
> Best,
>
> David
>
>

  Réponse avec citation
Vieux 18/10/2006, 19h47   #3
Arnie Rowland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Changing Physical Drive Location of SQL Server 2005 Databases

And in addition to Jay's response, using SSMS, go to Server Properties,
Database Settings, and change the default location for new databases.

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

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


"Jay B" <jayB@audiman.net> wrote in message
news:njuZg.16$Kh.9@newsfe09.lga...
> what i do is detach the database, then physically move the files to the
> proper folder you want, then go to attach a database, and navigate to the
> new folder you are using, and you will see your database in there, and
> select it.
> Jay
>
> David L. Jacobson wrote:
>> Hi Gang,
>>
>> Sorry for the stupid question, but I a long-time MySQL user who is new to
>> SQL Server. I just installed the SQL Server 2005 Standard Edition Trial
>> on
>> a Windows 2003 R2 System. The install Wizard did not appear to give me
>> an
>> option of where I wanted the databases to be stored (maybe I missed it)
>> and
>> placed them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
>> I
>> want to put the Data files themselves on the D: drive (which is sized for
>> data) and leave the program files of SQL Server as is. This is a simple
>> config change in MySQL, but I went through the tutorial before installing
>> and I can't see a simple way of doing this in SQL Server. Thank you very
>> much for your !
>>
>> Best,
>>
>> David
>>


  Réponse avec citation
Vieux 18/10/2006, 19h47   #4
Arnie Rowland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Changing Physical Drive Location of SQL Server 2005 Databases

And in addition to Jay's response, using SSMS, go to Server Properties,
Database Settings, and change the default location for new databases.

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

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


"Jay B" <jayB@audiman.net> wrote in message
news:njuZg.16$Kh.9@newsfe09.lga...
> what i do is detach the database, then physically move the files to the
> proper folder you want, then go to attach a database, and navigate to the
> new folder you are using, and you will see your database in there, and
> select it.
> Jay
>
> David L. Jacobson wrote:
>> Hi Gang,
>>
>> Sorry for the stupid question, but I a long-time MySQL user who is new to
>> SQL Server. I just installed the SQL Server 2005 Standard Edition Trial
>> on
>> a Windows 2003 R2 System. The install Wizard did not appear to give me
>> an
>> option of where I wanted the databases to be stored (maybe I missed it)
>> and
>> placed them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
>> I
>> want to put the Data files themselves on the D: drive (which is sized for
>> data) and leave the program files of SQL Server as is. This is a simple
>> config change in MySQL, but I went through the tutorial before installing
>> and I can't see a simple way of doing this in SQL Server. Thank you very
>> much for your !
>>
>> Best,
>>
>> David
>>


  Réponse avec citation
Vieux 19/10/2006, 02h54   #5
Hari Prasad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Changing Physical Drive Location of SQL Server 2005 Databases

For System databases Take a look into

http://www.sqlservercentral.com/colu...oboni/2605.asp


For User database use Detach and Attach commands

Thanks
Hari

"David L. Jacobson" <tornadogroup@hotmail.com> wrote in message
news:OciMKct8GHA.2120@TK2MSFTNGP03.phx.gbl...
> Hi Gang,
>
> Sorry for the stupid question, but I a long-time MySQL user who is new to
> SQL Server. I just installed the SQL Server 2005 Standard Edition Trial
> on
> a Windows 2003 R2 System. The install Wizard did not appear to give me an
> option of where I wanted the databases to be stored (maybe I missed it)
> and
> placed them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
> I
> want to put the Data files themselves on the D: drive (which is sized for
> data) and leave the program files of SQL Server as is. This is a simple
> config change in MySQL, but I went through the tutorial before installing
> and I can't see a simple way of doing this in SQL Server. Thank you very
> much for your !
>
> Best,
>
> David
>
>



  Réponse avec citation
Vieux 19/10/2006, 13h57   #6
David L. Jacobson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Changing Physical Drive Location of SQL Server 2005 Databases

Thanks, Gang. That was a snap. I really appreciate the assistance.

Best,

David

"Hari Prasad" <hari_prasad_k@hotmail.com> wrote in message
news:%238ukIFy8GHA.2092@TK2MSFTNGP03.phx.gbl...
> For System databases Take a look into
>
> http://www.sqlservercentral.com/colu...oboni/2605.asp
>
>
> For User database use Detach and Attach commands
>
> Thanks
> Hari
>
> "David L. Jacobson" <tornadogroup@hotmail.com> wrote in message
> news:OciMKct8GHA.2120@TK2MSFTNGP03.phx.gbl...
> > Hi Gang,
> >
> > Sorry for the stupid question, but I a long-time MySQL user who is new

to
> > SQL Server. I just installed the SQL Server 2005 Standard Edition Trial
> > on
> > a Windows 2003 R2 System. The install Wizard did not appear to give me

an
> > option of where I wanted the databases to be stored (maybe I missed it)
> > and
> > placed them in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
> > I
> > want to put the Data files themselves on the D: drive (which is sized

for
> > data) and leave the program files of SQL Server as is. This is a simple
> > config change in MySQL, but I went through the tutorial before

installing
> > and I can't see a simple way of doing this in SQL Server. Thank you

very
> > much for your !
> >
> > Best,
> >
> > David
> >
> >

>
>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h36.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,15649 seconds with 14 queries