Skip to content

Commit 3adb698

Browse files
authored
Update sp_ineachdb.sql
1 parent 4f22016 commit 3adb698

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎sp_ineachdb.sql‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ AS (SELECT C.SrcList
197197
FROM C
198198
WHERE C.InBracket = 0
199199
AND C.Name > '')
200-
SELECT d.database_id
200+
INSERT #ineachdb(id,name,is_distributor)
201+
SELECT d.database_id
201202
, d.name
202203
, d.is_distributor
203204
FROM sys.databases AS d

0 commit comments

Comments
 (0)