Get-DbaDbTable: Optimize usage of ClearAndInitialize#10157
Merged
potatoqualitee merged 1 commit intodevelopmentfrom Feb 16, 2026
Merged
Get-DbaDbTable: Optimize usage of ClearAndInitialize#10157potatoqualitee merged 1 commit intodevelopmentfrom
potatoqualitee merged 1 commit intodevelopmentfrom
Conversation
Member
|
thank you for alllllll of these! 🤩 |
claude bot
pushed a commit
that referenced
this pull request
Feb 20, 2026
Azure SQL's SMO enumerator does not support the IndexSpaceUsed and DataSpaceUsed properties. When ClearAndInitialize is called with an explicit property list that includes these, it throws: "unknown property IndexSpaceUsed" The fix removes these two properties from the list before calling ClearAndInitialize when the server is Azure SQL. The call itself remains unconditional (matching the pre-#10140 behavior), and the URN filter logic from #10157 is unchanged. Fixes #10181 (do Get-DbaDbTable, Copy-DbaDbTableData) Co-authored-by: Andreas Jordan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
followup to #10140