**Source URL:** https://limited.veevavault.dev/commercial/vql/functions-options/find-scopes-distance/scope-all

# SCOPE ALL

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

## Syntax

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

## Query Examples

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

### Query

The example query below searches document content and all queryable fields.

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

---

**Previous:** [DISTANCE](/commercial/vql/functions-options/find-scopes-distance/distance)  
**Next:** [SCOPE CONTENT](/commercial/vql/functions-options/find-scopes-distance/scope-content)