**Source URL:** https://general.veevavault.dev/vql/functions-options/find-scopes-distance/scope-content.md

# SCOPE CONTENT



In v8.0+, use `SCOPE CONTENT` with `FIND` to search within document content.

## Syntax {#Syntax}

```
SELECT {fields}
FROM documents
FIND ('{search phrase}' SCOPE CONTENT)

```

## Query Examples {#Query_Examples}

The following are examples of queries using `SCOPE CONTENT`.

### Query: Search Document Content {#Query_Search_Document_Content}

The following query retrieves documents with the search term *insulin* within the content:

```
SELECT id, name__v
FROM documents
FIND ('insulin' SCOPE CONTENT)

```

### Query: Search Related Document Content {#Query_Search_Related_Document_Content}

The following query retrieves *Product* records where the term *cholecap* appears in the content of the *Materials* (`materials__c`) related document:

```
SELECT id, name__v
FROM product__v
WHERE id IN (SELECT id FROM materials__cr FIND ('cholecap' SCOPE CONTENT))

```


---

**Previous:** [SCOPE ALL](/vql/functions-options/find-scopes-distance/scope-all)  
**Next:** [SCOPE Fields](/vql/functions-options/find-scopes-distance/scope-fields)