Skip to content

sp_ineachdb.sql: default to include DBs regardless of read_only - #4039

Open
aprokosch wants to merge 1 commit into
BrentOzarULTD:devfrom
aprokosch:patch-1
Open

sp_ineachdb.sql: default to include DBs regardless of read_only#4039
aprokosch wants to merge 1 commit into
BrentOzarULTD:devfrom
aprokosch:patch-1

Conversation

@aprokosch

@aprokosch aprokosch commented Jul 27, 2026

Copy link
Copy Markdown

The current default of @is_read_only = 0 excludes readonly databases from sp_ineachdb output by default. This is counterintuitive and apparently undocumented. The suggested new default of NULL includes both readonly and read-write databases, allowing the user to specifically override the behavior in either direction (=0 or =1) if desired.

The current default of @is_read_only = 0 excludes readonly databases from sp_ineachdb output by default. This is counterintuitive. The suggested new default of NULL includes both readonly and read-write databases, allowing the user to specifically override the behavior in either direction (=0 or =1) if desired.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant