> ## Documentation Index
> Fetch the complete documentation index at: https://fruitstand.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Search Earnings Call Transcripts in Snowflake SQL

> Search earnings call transcripts in Snowflake SQL: whole-word matches, SEARCH() phrase mode, mentions by quarter, snippets, and what Cortex Search would cost.

*By [Fruit Stand Team](https://fruitstand.dev/about.md) · November 28, 2026 · Guides*

To search earnings call transcripts in Snowflake, use `SEARCH()` or a
whole-word regular expression, not `ilike '%term%'`. Since July 2026,
`ilike '%ai%'` matched 332,767 paragraphs; the word AI matched 35,327.
Word-level search also gives clean trends: "agentic" went from no calls in
2023 to 12.4% of calls this quarter.

Below are tested queries for whole-word and phrase search, counting
mentions by quarter and by company, and pulling snippets, then what
semantic search with Cortex Search would cost on 15.7 million paragraphs.

> [!NOTE]
>
> The queries run against `earning_call_transcripts_flat_vw` and
> `earning_call_transcripts_vw` in Fruit Stand's [Earnings Call Transcripts
> listing](https://app.snowflake.com/marketplace/listing/GZTYZ40XYU5), which
> we publish. They were run on November 28, 2026, on 15,656,352 paragraphs
> from 243,252 calls. Each one scans the text on your warehouse; none of
> them uses Cortex AI functions. The free sample has only Apple's calls, so
> the cross-company counts need the full listing.

## Why `ilike` gives the wrong count

`ilike '%ai%'` matches any paragraph with those two letters anywhere:
"said", "maintain", "capital". A regular expression with word boundaries
(`\b`) matches the word, and `SEARCH()`, Snowflake's full-text function,
splits text into words before matching:

```sql theme={null}
select count(*) as paragraphs,
       count_if(content ilike '%ai%') as ilike_ai,
       count_if(regexp_like(content, '.*\\bAI\\b.*', 's')) as regex_word_ai,
       count_if(search(content, 'AI')) as search_ai
from earning_call_transcripts_flat_vw
where report_date between '2026-07-01' and '2026-11-28';
```

| paragraphs | ilike\_ai | regex\_word\_ai | search\_ai |
| -: | -: | -: | -: |
| 788570 | 332767 | 35327 | 35391 |

`ilike` overcounts nine to one. The two word-level methods differ by 64
paragraphs, and the difference shows how `SEARCH()` works: it ignores case
and splits on punctuation, so it also matches company names such as
"BigBear.ai" and a person named Ai. The regex here is case-sensitive, so it
matches only the capitalized word. Pick one and keep it for every period
you compare.

Two details in the regex: Snowflake string literals need the backslash
doubled (`'\\b'`), and `regexp_like` must match the whole string, so the
pattern starts and ends with `.*` and the `'s'` flag lets `.` cross line
breaks.

## What `SEARCH()` does

[`SEARCH()`](https://docs.snowflake.com/en/sql-reference/functions/search)
is Snowflake's built-in full-text search function. It returns `TRUE` or
`FALSE` for each row, so it goes in a `where` clause or inside `count_if`:

* **It matches words, not characters.** The default analyzer splits both
  the text and your search string into tokens at spaces and punctuation,
  then compares tokens. "said" never matches `'AI'`.
* **It ignores case.** `'agentic'` also finds "Agentic".
* **Punctuation splits words.** "BigBear.ai" becomes "bigbear" and "ai",
  so it matches `'AI'`.
* **No stemming or synonyms.** `'agentic'` doesn't find "agentically" or
  "agentics": 41 paragraphs since July that `ilike '%agentic%'` caught.
* **No relevance score.** It filters; to rank, count occurrences yourself,
  as in the company ranking below.
* **Four modes.** `search_mode => 'OR'` (the default, any word), `'AND'`
  (every word, anywhere), `'PHRASE'` (every word, adjacent and in order)
  and `'EXACT'` (a phrase whose separators must also match).

It runs on your warehouse like any other filter. On a table you own,
[search optimization](https://docs.snowflake.com/en/user-guide/search-optimization/text-queries)
can index the column to speed it up; on the listing's shared views, each
query scans the text.

## Phrases: `SEARCH()` defaults to OR

Give `SEARCH()` two words and it returns paragraphs with either one. For a
phrase, set `search_mode`:

```sql theme={null}
select count_if(search(content, 'pricing power')) as default_or,
       count_if(search(content, 'pricing power', search_mode => 'AND')) as all_words,
       count_if(search(content, 'pricing power', search_mode => 'PHRASE')) as phrase,
       count_if(content ilike '%pricing power%') as ilike_phrase
from earning_call_transcripts_flat_vw
where report_date between '2026-07-01' and '2026-11-28';
```

| default\_or | all\_words | phrase | ilike\_phrase |
| -: | -: | -: | -: |
| 39050 | 1136 | 611 | 612 |

The default returns 64 times as many paragraphs as the phrase. `PHRASE`
needs the words next to each other in order; `AND` needs both anywhere in
the paragraph. For a multi-word phrase `ilike` is close: its one extra match
here is "repricing power", where the phrase sits inside a longer word.

## Mentions by quarter

Counting calls rather than paragraphs needs one more step. The same call
often appears under several tickers, such as a company's preferred shares
(`BAC` and `BAC-PB`) or warrants (`SOUN` and `SOUNW`): 44,206 of the
243,260 calls repeat another ticker's transcript. The `calls` CTE keeps one
ticker per identical transcript, the shortest symbol:

```sql theme={null}
with calls as (
  select earning_call_transcripts_key
  from earning_call_transcripts_vw
  where report_date >= '2023-01-01'
  qualify row_number() over (partition by report_date, hash(transcripts)
                             order by length(symbol), symbol) = 1
)
select date_trunc('quarter', f.report_date) as quarter,
       count(distinct f.earning_call_transcripts_key) as calls,
       count(distinct iff(search(f.content, 'agentic'), f.earning_call_transcripts_key, null)) as calls_saying_agentic,
       round(100 * calls_saying_agentic / calls, 1) as pct
from earning_call_transcripts_flat_vw f
join calls c using (earning_call_transcripts_key)
where f.report_date <= '2026-11-28'
group by 1
order by 1;
```

| quarter | calls | calls\_saying\_agentic | pct |
| - | -: | -: | -: |
| 2023-01-01 | 3640 | 0 | 0.0 |
| 2023-04-01 | 3700 | 0 | 0.0 |
| 2023-07-01 | 3723 | 0 | 0.0 |
| 2023-10-01 | 3703 | 0 | 0.0 |
| 2024-01-01 | 3677 | 2 | 0.1 |
| 2024-04-01 | 3870 | 3 | 0.1 |
| 2024-07-01 | 3663 | 5 | 0.1 |
| 2024-10-01 | 3744 | 32 | 0.9 |
| 2025-01-01 | 3912 | 113 | 2.9 |
| 2025-04-01 | 4030 | 152 | 3.8 |
| 2025-07-01 | 3633 | 236 | 6.5 |
| 2025-10-01 | 3613 | 297 | 8.2 |
| 2026-01-01 | 3814 | 393 | 10.3 |
| 2026-04-01 | 3913 | 469 | 12.0 |
| 2026-07-01 | 3905 | 444 | 11.4 |
| 2026-10-01 | 3535 | 438 | 12.4 |

**Share of earnings calls that say "agentic", by quarter**

No call used the word in 2023. It appeared in a handful in 2024, jumped
in the fourth quarter of that year, and has been said on about one call in
eight since spring 2026. The last quarter runs through November 28, and
the `report_date <= '2026-11-28'` filter keeps out a few calls dated after
the day we ran it.

Without the `calls` CTE, the last quarter comes out at 562 of 4,300 calls
(13.1%) instead of 438 of 3,535 (12.4%), because duplicates inflate both
the matches and the total.

## Which companies say it most

`regexp_count` counts every occurrence in a paragraph, so you can rank
companies by mentions rather than by matching paragraphs:

```sql theme={null}
with calls as (
  select earning_call_transcripts_key
  from earning_call_transcripts_vw
  where report_date between '2026-07-01' and '2026-11-28'
  qualify row_number() over (partition by report_date, hash(transcripts)
                             order by length(symbol), symbol) = 1
)
select f.symbol,
       count(distinct f.earning_call_transcripts_key) as calls,
       sum(regexp_count(f.content, '\\bagentic\\b', 1, 'i')) as mentions
from earning_call_transcripts_flat_vw f
join calls c using (earning_call_transcripts_key)
where search(f.content, 'agentic')
group by f.symbol
order by mentions desc, f.symbol
limit 10;
```

| symbol | calls | mentions |
| - | -: | -: |
| G | 2 | 107 |
| DOX | 2 | 67 |
| CDNS | 2 | 63 |
| CXAI | 2 | 51 |
| SAIL | 1 | 47 |
| SOUN | 2 | 47 |
| PUBM | 2 | 45 |
| SHOP | 2 | 44 |
| GOOG | 2 | 43 |
| V | 2 | 40 |

Genpact (`G`) leads with 107 mentions over two calls. `search()` in the
`where` clause narrows the scan to matching paragraphs first, and
`regexp_count` with the `'i'` flag then counts each "agentic" in them.

## Read the matches in context

A count tells you how often; a snippet tells you what was said. Cut the
paragraph around the first match with `regexp_instr`:

```sql theme={null}
select report_date,
       paragraph_number,
       speaker,
       regexp_count(content, '\\bagentic\\b', 1, 'i') as mentions,
       '...' || substr(content,
                       greatest(1, regexp_instr(content, '\\bagentic\\b', 1, 1, 0, 'i') - 60),
                       160) || '...' as snippet
from earning_call_transcripts_flat_vw
where symbol = 'V'
  and report_date = (select max(report_date) from earning_call_transcripts_vw where symbol = 'V')
  and search(content, 'agentic')
order by paragraph_number
limit 3;
```

| report\_date | paragraph\_number | speaker | mentions | snippet |
| - | -: | - | -: | - |
| 2026-10-27 | 11 | Ryan McInerney | 1 | ...nd strengthened our defenses through our Visa Vulnerability Agentic Harness, which we then open-sourced to the world.... |
| 2026-10-27 | 15 | Ryan McInerney | 2 | ...ay that we build and ship products enabled by utilizing our agentic toolchain. For example, the Visa Stablecoin Platform enablement for OUSD was designed, built... |
| 2026-10-27 | 16 | Ryan McInerney | 3 | ...of the key areas of innovation for Visa has been empowering agentic commerce. It is clear that in agentic, trust is the biggest barrier to scale. We believe the... |

To read the whole paragraph, or the analyst question it answers, select
`content` for that `paragraph_number` and the ones before it, as in [How to
Query Earnings Call Transcripts in Snowflake
SQL](https://fruitstand.dev/blog/query-earnings-call-transcripts-sql.md).

## When to use Cortex Search instead

Keyword search finds the words you type. It won't find a CFO describing
"customers pushing back on price increases" when you searched for
"pricing power". That's what semantic search is for: [Cortex
Search](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-search/cortex-search-overview)
embeds each paragraph as a vector and matches on meaning, with keyword
matching mixed in.

It's a service you create and keep running, so it costs money even when
nobody queries it. Snowflake charges to embed the text once (and again for
new or changed rows) and to serve the index every month. We haven't built
one on this data; these are estimates from Snowflake's [Service Consumption
Table](https://www.snowflake.com/legal-files/CreditConsumptionTable.pdf)
effective November 20, 2026, the default `snowflake-arctic-embed-m-v1.5`
model (0.03 AI credits per million tokens, 768 dimensions), serving at 6.3
AI credits per GB a month, about 4 characters per token, and \$2.00 per AI
credit on demand:

| Corpus | Paragraphs | Embed once | Indexed size | Serve per month |
| - | -: | -: | -: | -: |
| All calls since 2005 | 15.7 million | ~~75 credits (~~\$149) | \~59 GB | ~~371 credits (~~\$741) |
| Calls since 2024 | 3.3 million | ~~16 credits (~~\$32) | \~12 GB | ~~78 credits (~~\$155) |

Serving dominates: the 768 numbers per paragraph take about 3 KB, five
times the text itself. Refreshes also use warehouse time. Three ways to
keep it smaller:

* **Index a slice.** Copy the years or companies you need into your own
  table and build the service on that. Cortex Search needs change tracking
  on every underlying object, which is simplest on a table you own.
* **Deduplicate first.** Dropping the repeated tickers removes about 18%
  of calls before you pay to embed them.
* **Suspend serving when idle.** A suspended service stops the serving
  charge; Snowflake's [cost
  guide](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-search/cortex-search-costs)
  covers this and the usage views to watch after the first refreshes.

Paragraphs longer than about 2,000 characters, around 5% of them, pass
the default model's 512-token window, so split those before embedding, as
in [How to Run Sentiment Analysis on Earnings Calls in
Snowflake](https://fruitstand.dev/blog/earnings-call-sentiment-analysis-snowflake-cortex.md).

## Mistakes that give wrong numbers

* **Substring matching on short terms.** `ilike '%ai%'`, `'%ev%'` and
  `'%rate%'` match inside other words. Use `SEARCH()` or `\b` boundaries.
* **Multi-word `SEARCH()` without a mode.** The default is OR; use
  `search_mode => 'PHRASE'` or `'AND'`.
* **Counting tickers as companies.** Preferred shares, warrants and share
  classes repeat the same call. Deduplicate on the transcript.
* **Comparing raw counts across years.** The number of calls changes from
  quarter to quarter, so divide by calls, as the trend query does.

## Limits of this approach

* **Words, not meaning.** Synonyms and paraphrases need a list of terms or
  semantic search.
* **Full scans.** Every query reads the text column. On the full listing,
  the queries above took a few seconds each; we didn't measure how that
  grows with warehouse size or concurrency.
* **Speaker names only.** The `speaker` column has no titles, so separating
  management from analysts takes the steps in the sentiment post.

## F.A.Q.

> [accordion] How do I search all earnings call transcripts for a keyword?
>
> Filter the paragraph view with `search(content, 'your word')`, or `search_mode => 'PHRASE'` for a phrase, and add a `report_date` range. It runs across every company's calls; to count calls rather than paragraphs, use `count(distinct earning_call_transcripts_key)` and drop duplicate tickers first.

> [accordion] What is the difference between SEARCH() and ILIKE in Snowflake?
>
> `ILIKE` matches characters anywhere in the text, so '%ai%' also hits "said". `SEARCH()` splits text into words on spaces and punctuation and ignores case, so it matches whole words. Since July 2026 that was 332,767 paragraphs for `ILIKE` and 35,391 for `SEARCH()`.

> [accordion] Can I use Cortex Search on earnings call transcripts?
>
> Yes, on a table you create from the listing's views. Expect roughly $149 to embed all 15.7 million paragraphs and $741 a month to serve them at on-demand prices, or about $32 and $155 for calls since 2024.

> [accordion] How many earnings calls mention AI agents?
>
> The word "agentic" appeared on 438 of 3,535 calls (12.4%) from October 1 to November 28, 2026, counting each transcript once, and on none in 2023.

To run these searches on calls from 4,500+ companies since 2005, start a
free 30-day trial of the [Earnings Call Transcripts listing on the Snowflake
Marketplace](https://app.snowflake.com/marketplace/listing/GZTYZ40XYU5).
The schema is in the [dataset docs](https://fruitstand.dev/datasets/earnings-call-transcripts.md).
Questions? Reach out at [contact@fruitstand.dev](mailto:contact@fruitstand.dev).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.