Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need to convert the sys.master_files size column into GB . Currently when I run select name,size from sys.master_files I get back the file size as

need to convert the sys.master_files size column into GB. Currently when I run select name,size from sys.master_files I get back the file size as KB. I've tried doing something - size/1024/1024 - but I'm getting incorrect results.

How do I get the current sys.master_files size unit into the GB format?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Students also viewed these Databases questions

Question

Create bonds with present or future customers.

Answered: 1 week ago