dbTalk Databases Forums  

Re: I need to know where mssql server stores its data.

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Re: I need to know where mssql server stores its data. in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan Guzman
 
Posts: n/a

Default Re: I need to know where mssql server stores its data. - 01-19-2008 , 09:04 AM






Quote:
I think I found it..
Program files\MS SQL\Data\
This is the default path. The default folders for data and log files can be
changed using Enterprise Manager/SQL Server Management studio. Also, the
default location can be overriden for individual database files.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Yżlmaz" <ozturkyilmaz (AT) gmail (DOT) com> wrote

On 19 Ocak, 16:11, "Yżlmaz" <ozturkyil... (AT) gmail (DOT) com> wrote:
Quote:
Hello,
I need to learn where mssql server stores its data. I knew it was in
Program files\Common files\
But I cant find.. Its urgent pls..

Thanx
I think I found it..
Program files\MS SQL\Data\



Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: I need to know where mssql server stores its data. - 01-19-2008 , 09:08 AM






Y?lmaz (ozturkyilmaz (AT) gmail (DOT) com) writes:
Quote:
I need to learn where mssql server stores its data. I knew it was in
Program files\Common files\
But I cant find.. Its urgent pls..
You can use sp_helpdb to locate the files for a certain database.

Now, I'm a little nervous why you would need to find them. Usually there
is little reason to look at the files as such.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
  #3  
Old   
Greg D. Moore \(Strider\)
 
Posts: n/a

Default Re: I need to know where mssql server stores its data. - 01-19-2008 , 09:40 AM



"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote

Quote:
Y?lmaz (ozturkyilmaz (AT) gmail (DOT) com) writes:
I need to learn where mssql server stores its data. I knew it was in
Program files\Common files\
But I cant find.. Its urgent pls..

You can use sp_helpdb to locate the files for a certain database.

Now, I'm a little nervous why you would need to find them. Usually there
is little reason to look at the files as such.
Or, if the DB server has failed,

try searching for *.MDF and *.LDF.

(though it's entirely possible the creators gave the files non-standard
extensions.)


Quote:

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.