mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
databases query updated (#21856)
This commit is contained in:
@@ -49,7 +49,7 @@ const query_databases_with_size = `
|
|||||||
db_size
|
db_size
|
||||||
AS
|
AS
|
||||||
(
|
(
|
||||||
SELECT database_id, CAST(SUM(size) * 8.0 / 1024 AS INTEGER) size
|
SELECT database_id, CAST(SUM(size) / 128 AS bigint) size
|
||||||
FROM sys.master_files with (nolock)
|
FROM sys.master_files with (nolock)
|
||||||
GROUP BY database_id
|
GROUP BY database_id
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user