Skip to content

Commit

Permalink
Add example for RESTRICT keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessie212 authored and mosabua committed Aug 8, 2023
1 parent 8c5d38c commit fb43992
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/main/sphinx/sql/drop-schema.md
Expand Up @@ -33,6 +33,12 @@ Drop the schema `archive`, along with everything it contains:
DROP SCHEMA archive CASCADE
```

Drop the schema `archive`, only if there are no objects contained in the schema:

```
DROP SCHEMA archive RESTRICT
```

## See also

{doc}`alter-schema`, {doc}`create-schema`

0 comments on commit fb43992

Please sign in to comment.