Skip to content

Commit 56ae2ca

Browse files
Merge pull request #25306 from MicrosoftDocs/WilliamDAssafMSFT-patch-1
Update view-a-list-of-databases-on-an-instance-of-sql-server.md
2 parents 556c864 + 3420f97 commit 56ae2ca

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

docs/relational-databases/databases/view-a-list-of-databases-on-an-instance-of-sql-server.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ helpviewer_keywords:
1717
author: WilliamDAssafMSFT
1818
ms.author: wiassaf
1919
ms.custom: "seo-lt-2019, FY22Q2Fresh"
20-
ms.date: "10/21/2021"
20+
ms.date: "12/16/2022"
2121
monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current"
2222
---
2323

@@ -49,8 +49,6 @@ This article describes how to view a list of databases on an instance of [!INCLU
4949
3. Copy and paste the following example into the query window and select **Execute**. This example returns a list of databases on the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. The list includes the names of the databases, their database IDs, and the dates when the databases were created.
5050

5151
```sql
52-
USE AdventureWorks2012;
53-
GO
5452
SELECT name, database_id, create_date
5553
FROM sys.databases;
5654
GO
@@ -61,5 +59,3 @@ GO
6159

6260
- [Databases and Files Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/databases-and-files-catalog-views-transact-sql.md)
6361
- [sys.databases (Transact-SQL)](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)
64-
65-

0 commit comments

Comments
 (0)