Skip to content

Test-DbaDbCompression, Get-DbaDbPageInfo - Normalize table names via Get-ObjectNameParts#10313

Merged
potatoqualitee merged 1 commit into
developmentfrom
claude/issue-9010-20260405-0826
Apr 5, 2026
Merged

Test-DbaDbCompression, Get-DbaDbPageInfo - Normalize table names via Get-ObjectNameParts#10313
potatoqualitee merged 1 commit into
developmentfrom
claude/issue-9010-20260405-0826

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

Fixes Group 2 of issue #9010: SQL IN clause comparisons failed when users passed bracketed table names like [Gross.Table.Name]. sys.tables.name stores bare names without brackets, so the filter silently returned nothing.

Normalize $Table values via Get-ObjectNameParts before embedding in SQL name IN (...) clauses in:

  • Test-DbaDbCompression
  • Get-DbaDbPageInfo

Generated with Claude Code

…Get-ObjectNameParts

Fixes Group 2 of issue #9010: SQL IN clause comparisons failed when users
passed bracketed table names like [Gross.Table.Name]. sys.tables.name stores
bare names without brackets, so the filter silently returned nothing.

Normalize $Table values via Get-ObjectNameParts before embedding in SQL
name IN (...) clauses in:
- Test-DbaDbCompression
- Get-DbaDbPageInfo

(do Test-DbaDbCompression, Get-DbaDbPageInfo)

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
@potatoqualitee potatoqualitee merged commit 241a118 into development Apr 5, 2026
15 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-9010-20260405-0826 branch April 5, 2026 21:54
@potatoqualitee
Copy link
Copy Markdown
Member

looks good 👌🏼

potatoqualitee added a commit that referenced this pull request Apr 10, 2026
#10313)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

2 participants