Find-DbaObject - Add unified command to search database objects by name#10321
Draft
andreasjordan wants to merge 3 commits intodevelopmentfrom
Draft
Find-DbaObject - Add unified command to search database objects by name#10321andreasjordan wants to merge 3 commits intodevelopmentfrom
andreasjordan wants to merge 3 commits intodevelopmentfrom
Conversation
Adds Find-DbaObject which searches all database object types (tables, views, stored procedures, functions, synonyms, triggers) by name pattern, with optional column name searching. Uses T-SQL against sys.objects and sys.columns for performance. (do Find-DbaObject) Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
Collaborator
Author
|
@claude one test is still failing: |
|
Claude finished @andreasjordan's task in 1m 1s —— View job Fixed failing test
Root cause: The test searched for Fix: Added |
syslogins is a system view (is_ms_shipped=1) so IncludeSystemObjects is required to find it alongside IncludeSystemDatabases. (do Find-DbaObject) Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
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.
Closes #9245
Adds
Find-DbaObject, a unified command to search all database object types by name pattern, with optional column name searching.What does this PR do?
-IncludeColumns-ObjectTypeGenerated with Claude Code