|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 2:19 PM
Points: 90,
Visits: 369
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, January 10, 2013 7:32 AM
Points: 4,
Visits: 366
|
|
| I think it is worth noting that the @v_Search_String parameter should not contain any wildcards (i.e., %) as the stored procedure adds that to the parameter. I didn't realize that at first and was not getting anything back on my test system when I knew the string existed. Going through the code, I quickly discovered that the wildcards are added to the string in the parameter for you and my adding them caused it to read the wildcard as a literal character that was part of the search string.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 2:19 PM
Points: 90,
Visits: 369
|
|
When I originally designed the procedure it actually functioned the way you wanted it to. After a peer review with some colleagues, they all argued for the opposite (never can win it seems LOL). Since you've familiarized yourself with the code you should be able to adjust it to fit your needs.
Thanks for the feedback.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, January 10, 2013 7:32 AM
Points: 4,
Visits: 366
|
|
| No problem. That works fine for me, just needed to figure it out and wanted to let everyone else know how to pass the search string parameter to the stored procedure so they don't run into the same thing.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 2:19 PM
Points: 90,
Visits: 369
|
|
| Good idea and thanks for posting this. I may end up adding a "use or search" for wildcards switch in a later version. This would make it more flexible.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 6:58 AM
Points: 47,
Visits: 168
|
|
| I'm not clear if this will allow for searches within SSIS packages?
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 2:19 PM
Points: 90,
Visits: 369
|
|
| Honestly, never tried (but I would think no). Sorry, haven't dealt much with SSIS packages. Try a search string that you know is in an SSIS package and see if it brings back any results. Post the results if you don't mind.
|
|
|
|