Skip to content

Instantly share code, notes, and snippets.

@hfleitas
Last active October 15, 2019 01:56
Show Gist options
  • Save hfleitas/6016cdff36395ffe7a1a5ed20d3a8f0c to your computer and use it in GitHub Desktop.
Save hfleitas/6016cdff36395ffe7a1a5ed20d3a8f0c to your computer and use it in GitHub Desktop.
Script1.sql
select database_id, name, physical_name, state_desc from sys.master_files where database_id <= 4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment