| Reference |
Timestamp |
Code |
| Select author and quote for each entry. |
1:30 |
select Author, Quote from Learning.Quotations |
| Select quotes that include a specific word. |
2:10 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'word1') |
| Select quotes that include two specific words. |
2:20 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'word1 word2') |
| Select quotes that include a specific phrase. |
2:38 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, ' "phrase to find" ') |
| Select quotes that include two specific words separated by 2 words. |
3:08 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'word1 ? ? word2') |
| Select quotes that include two specific words separated by up to 9 words. |
3:20 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'word1 [0-9] word2') |
| Select quotes that do not include a specific word. |
3:26 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'NOT word1') ; |
| Select quotes that include words starting with a specific set of letters. |
3:54 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'start*') |
| Select quotes that include a word that is 15 characters long. |
4:45 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, '\w{14}',4) |
| Select quotes that include a word that almost matches a specific word. |
5:05 |
select Author, Quote from Learning.Quotations where %ID %FIND search_index(QuoteBasicIndex, 'word1',3) |