Question
how to use Microsoft SQL. Using the Microsoft flavor I need help with something to show a list of all databases I have. This list
how to use Microsoft SQL. Using the Microsoft flavor I need help with something to show a list of all databases I have. This list needs to display three things for every file 1) File Name 2) File Location 3) file size (as listed in the database_files catalog view without conversion.
But the catch to that is I need to somehow limit the display to only show files greater than or equal to size 1024.
What I have come up with so far is this:
select
DB_NAME(database_id) AS DatabaseName,
size
FROM sys.master_files
Which shows me the name & the size, but it shows every file not just those of size 1024 or greater & it only shows me the name & size not the location.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Oracle 12c SQL
Authors: Joan Casteel
3rd edition
1305251032, 978-1305251038
Students also viewed these Algorithms questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App