Skip to content

Commit a63dc6c

Browse files
authored
Merge pull request #5449 from ymasaoka/ymasaoka-patch-1
Corrected the description location of the syntax description
2 parents 27f95e5 + 74c797c commit a63dc6c

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

docs/t-sql/statements/create-database-transact-sql.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ In SQL Server, this statement creates a new database and the files used and thei
7878

7979
## Syntax
8080

81-
Create a database.
81+
Create a database
8282

8383
```syntaxsql
8484
CREATE DATABASE database_name
@@ -127,14 +127,6 @@ CREATE DATABASE database_name
127127
FILEGROUP filegroup name [ [ CONTAINS FILESTREAM ] [ DEFAULT ] | CONTAINS MEMORY_OPTIMIZED_DATA ]
128128
<filespec> [ ,...n ]
129129
}
130-
131-
<service_broker_option> ::=
132-
{
133-
ENABLE_BROKER
134-
| NEW_BROKER
135-
| ERROR_BROKER_CONVERSATIONS
136-
}
137-
138130
```
139131

140132
Attach a database
@@ -152,6 +144,13 @@ CREATE DATABASE database_name
152144
| RESTRICTED_USER
153145
| FILESTREAM ( DIRECTORY_NAME = { 'directory_name' | NULL } )
154146
}
147+
148+
<service_broker_option> ::=
149+
{
150+
ENABLE_BROKER
151+
| NEW_BROKER
152+
| ERROR_BROKER_CONVERSATIONS
153+
}
155154
```
156155

157156
Create a database snapshot
@@ -206,7 +205,7 @@ For more information about the Windows and SQL collation names, see [COLLATE](~/
206205
> Contained databases are collated differently than non-contained databases. Please see [Contained Database Collations](../../relational-databases/databases/contained-database-collations.md) for more information.
207206
208207
WITH \<option>
209-
**\<filestream_options>**
208+
**\<filestream_option>**
210209

211210
NON_TRANSACTED_ACCESS = { **OFF** | READ_ONLY | FULL }
212211
**Applies to**: [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] and later.

0 commit comments

Comments
 (0)