Skip to content

Commit

Permalink
Today I Learned - 3/19/19
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan Casey committed Mar 19, 2019
1 parent ed350a9 commit 94ebf92
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Things I have learned over time, a reference for me and any who may stumble acro
## Categories

* [Linux](#linux)
* [SQL](#sql)
* [Unitrends](#unitrends)
* [VLC](#vlc)
* [VSS](#vss)
Expand All @@ -14,6 +15,10 @@ Things I have learned over time, a reference for me and any who may stumble acro
* [Get a full list of Groups](linux/get-a-full-list-of-groups.md)
* [List all members of a Group](linux/list-all-members-of-a-group.md)

## SQL

* [Find Database Files](sql/find-database-files.md)

## Unitrends

* [Configure Deduplication](unitrends/configure-deduplication.md)
Expand All @@ -25,4 +30,3 @@ Things I have learned over time, a reference for me and any who may stumble acro
## VSS

* [Completely Reset VSS Writers](vss/completely-reset-vss-writers.md)

15 changes: 15 additions & 0 deletions sql/find-database-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Find Database Files

To easily find the location of database files, run the following query against the SQL server.

```sql
USE master;
SELECT
name 'Logical Name',
physical_name 'File Location'
FROM sys.master_files;
```

The result will be a list of databases and their corresponding file location.

[Found on Database.Guide](https://database.guide/how-to-find-the-location-of-data-files-and-log-files-in-sql-server/)

0 comments on commit 94ebf92

Please sign in to comment.