May 18, 2001 #1 Dev2001 Programmer May 18, 2001 1 KW Where does SQL Server store the name and location of the .ldf files? The .mdf file for a database, its name and location is stored in the master database, as I found. Thanks ahead.
Where does SQL Server store the name and location of the .ldf files? The .mdf file for a database, its name and location is stored in the master database, as I found. Thanks ahead.
May 19, 2001 #2 tlbroadbent MIS Mar 16, 2001 9,982 US sysdatabases in master contains the operating-system path and name for the database’s primary file. sysfiles1 in each database contains one row for each file in a database including the name of the physical device and the full path of the file. Terry ;-) The single biggest challenge to learning SQL programming is unlearning procedural programming. -Joe Celko SQL Article links: http://members.home.net/tlbroadbent/sqlarticles.htm Upvote 0 Downvote
sysdatabases in master contains the operating-system path and name for the database’s primary file. sysfiles1 in each database contains one row for each file in a database including the name of the physical device and the full path of the file. Terry ;-) The single biggest challenge to learning SQL programming is unlearning procedural programming. -Joe Celko SQL Article links: http://members.home.net/tlbroadbent/sqlarticles.htm