File tree Expand file tree Collapse file tree
docs/relational-databases/search Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ A full-text index includes one or more character-based columns in a table. These
5959 ``` sql
6060 SELECT product_id
6161 FROM products
62- WHERE CONTAINS(product_description, " Snap Happy 100EZ" OR FORMSOF(THESAURUS,' Snap Happy' ) OR ' 100EZ' )
62+ WHERE CONTAINS(product_description, ' "Snap Happy 100EZ"' OR FORMSOF(THESAURUS,' " Snap Happy" ' ) OR ' 100EZ' )
6363 AND product_cost < 200 ;
6464 ```
6565
@@ -68,7 +68,7 @@ A full-text index includes one or more character-based columns in a table. These
6868 ` ` ` sql
6969 SELECT candidate_name,SSN
7070 FROM candidates
71- WHERE CONTAINS(candidate_resume,"SQL Server") AND candidate_division = 'DBA';
71+ WHERE CONTAINS(candidate_resume, ' "SQL Server"' ) AND candidate_division = 'DBA';
7272 ` ` `
7373
7474 For more information, see [Query with Full- Text Search](../ ../ relational- databases/ search/ query- with- full- text - search .md ).
You can’t perform that action at this time.
0 commit comments