I'm a sysadmin but by no means am I a DBA person, and as such I'd like to ask for your help.
I have 2 questions. First, how do I query the SQL server to return a list of all databases (without the default ones like master etc..) and list the DB size and the Available space (preferably in GB):
What I also need to know if the "Space available" affects the .bak file size of the respective DB.
Hoping for a quick response. Thanks in advance.
David Sankovsky.
Right, after some tweaking and RTFM-ing I came up with this:
That seems to get the job done. Feel free to share and thanks for the help everyone. SQL Link