Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8e173ea

Browse files
committed
Damnit, missed an ELSE
1 parent 1035408 commit 8e173ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎sp_foreachdb.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ AS
158158
WHERE drs.database_id = d.database_id
159159
AND ar.secondary_role_allow_connections = 0
160160
AND ags.primary_replica <> @@SERVERNAME)'
161+
ELSE ''
161162
END
162163
+ CASE WHEN @is_read_only IS NOT NULL
163164
THEN ' AND d.is_read_only = ' + RTRIM(@is_read_only)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /