Skip to content

Get-DbaDbIdentity, Set-DbaDbIdentity, Invoke-DbaDbDbccUpdateUsage - Normalize table names via Get-ObjectNameParts#10318

Merged
potatoqualitee merged 3 commits intodevelopmentfrom
claude/issue-9010-20260405-0842
Apr 7, 2026
Merged

Get-DbaDbIdentity, Set-DbaDbIdentity, Invoke-DbaDbDbccUpdateUsage - Normalize table names via Get-ObjectNameParts#10318
potatoqualitee merged 3 commits intodevelopmentfrom
claude/issue-9010-20260405-0842

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

Fixes Group 5 of issue #9010: DBCC commands failed when bare dotted table names like Gross.Table.Name were passed - SQL Server interpreted them as 3-part database.schema.table names. Bracketed names like [Gross.Table.Name] already worked. Now both forms produce correct bracketed T-SQL identifiers.

Closes #9010

Generated with Claude Code

github-actions bot and others added 3 commits April 5, 2026 08:44
…ormalize table names via Get-ObjectNameParts

Fixes Group 5 of issue #9010: DBCC commands failed when bare dotted table
names like Gross.Table.Name were passed - SQL Server interpreted them as
3-part database.schema.table names. Bracketed names like [Gross.Table.Name]
already worked. Now both forms produce correct bracketed T-SQL identifiers.

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
@andreasjordan
Copy link
Copy Markdown
Collaborator Author

Test needed a change:
image

@potatoqualitee
Copy link
Copy Markdown
Member

Thank you 💯

@potatoqualitee potatoqualitee merged commit a38bc6b into development Apr 7, 2026
14 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-9010-20260405-0842 branch April 7, 2026 18:50
potatoqualitee added a commit that referenced this pull request Apr 10, 2026
…iew of #10318)

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.

Support consistent reference to table names across commands in the module

2 participants