Skip to content

Commit 9112325

Browse files
authored
Update dbo.usp_SchemaSearch.StoredProcedure.sql
1 parent 3ca249d commit 9112325

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dbo.usp_SchemaSearch.StoredProcedure.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
@SearchObjContents = 1, -- Whether or not you want to search the actual code of a proc, function, view, etc
1111
@ANDSearch = NULL, -- Second search criteria
1212
@ANDSearch2 = NULL, -- Third search criteria
13-
@WholeOnly = 1, -- Exclude partial matches...for example, a search of "Entity" will not match with "EntityOpportunity"
13+
@WholeOnly = 1, -- Exclude partial matches...for example, a search of "Customer" will not match with "CustomerOrders", it will only return "whole" matches, aka, must be surrounded by whitespace or nothing.
1414
@BaseFilePath = 'C:\PathToFiles' -- Provides a base path of where your files are stored, for example, git or SVN --TODO: currently, it's based on the folder/file structure that I like to use. Maybe in the future it can be parameter or table driven
1515
--Advanced/Beta features:
1616
@FindReferences = 0, -- Warning...this can take a while to run -- Dependent on @SearchObjContents = 1...Provides a first level dependency. Finds all places where each of your search results are mentioned
17-
@CacheObjects = 1, -- Allows you to cache the object definitions to a temp table in your current session. Helps if you are trying to run this many times over and over with no DB filter
17+
@CacheObjects = 1, -- Allows you to cache the object definitions to a temp table in your current session. Helps if you are trying to run this many times over and over with no DB filter -- Warning, if a filter is applied then removed or changed, the "cache" is sticky and won't update. You'll have to drop it first.
1818
@DBIncludeFilterList = 'Test%', -- Advanced Database filter...you can provde a comma separated list of LIKE statements to Include only matching DB's
1919
@DBExcludeFilterList = '%[_]Old,%[_]Backup' -- Advanced Database filter...you can provde a comma separated list of LIKE statements to Exclude any matching DB's
2020
@ForceSSMSMaxColumnWidth = 0 -- Force SSMS to adjust the column width to be that of the widest value in the dataset (up to 50 characters)
@@ -650,4 +650,4 @@ BEGIN;
650650

651651
RAISERROR('Done',0,1) WITH NOWAIT;
652652
END;
653-
GO
653+
GO

0 commit comments

Comments
 (0)