It seems pretty simple, but for some reason I don't find anything on how to do this. I am using SQL Server Management Studio 2012, and I have a set of results returned from a SELECT query, say select a,b from x. How can I search in a column bfor a substring? In Access, I would click on the column and type Ctrl + F, but in SSMS, which seems to be used only to search for SQL itself, and not for the results. How can I search for results? I know that I can modify my query to return this result, for example:
select a,b from x where b like '*hello*'
but I want to get all returned rows, not just one.
UPDATE: The answers I get relate to how to create a query that selects only the rows that I am looking for, which, as I indicated above, is not what I am looking for. I want all the rows to be returned, and I want to look in the search results in the SSMS interface to find the desired values. The reason is because I want to see these values ββin the context of other strings that don't have them.
sigil source
share