Skip to content

Commit f610dde

Browse files
committed
Correct CREATE SCHEMA syntax in doc
1 parent 8e2c2ce commit f610dde

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

doc/sql.extensions/README.schemas.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,15 @@ or by a user with `DROP ANY SCHEMA` permission. If restoring a Firebird 6 or lat
220220
### CREATE SCHEMA
221221

222222
```sql
223-
{CREATE [IF NOT EXISTS] | CREATE OR ALTER | RECREATE} SCHEMA <schema name>
224-
[DEFAULT CHARACTER SET <character set name>]
225-
[DEFAULT SQL SECURITY {DEFINER | INVOKER}]
223+
CREATE SCHEMA [IF NOT EXISTS] <schema name>
224+
[<create schema option>...]
225+
226+
{CREATE OR ALTER SCHEMA | RECREATE} <schema name>
227+
[<create schema option>...]
228+
229+
<create schema option> ::=
230+
DEFAULT CHARACTER SET <character set name>
231+
| DEFAULT SQL SECURITY {DEFINER | INVOKER}
226232
```
227233

228234
Schemas may have optional default character set and SQL security settings, which serve as the defaults for objects

0 commit comments

Comments
 (0)