You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sp_ineachdb.sql
+60-2Lines changed: 60 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -101,10 +101,14 @@ BEGIN
101
101
@thisdb sysname,
102
102
@cr char(2) =CHAR(13) +CHAR(10),
103
103
@SQLVersion AS tinyint = (@@microsoftversion / 0x1000000) & 0xff, -- Stores the SQL Server Version Number(8(2000),9(2005),10(2008 & 2008R2),11(2012),12(2014),13(2016),14(2017),15(2019)
104
-
@ServerName AS sysname =CONVERT(sysname, SERVERPROPERTY('ServerName')); -- Stores the SQL Server Instance name.
104
+
@ServerName AS sysname =CONVERT(sysname, SERVERPROPERTY('ServerName')), -- Stores the SQL Server Instance name.
0 commit comments