Skip to content

Commit 5f288ea

Browse files
author
Matthew Sebolt
authored
Update enable-the-prerequisites-for-filetable.md
1 parent 1b1372e commit 5f288ea

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎docs/relational-databases/blob/enable-the-prerequisites-for-filetable.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,24 @@ ms.reviewer:
5050

5151
### <a name="HowToCheckAccess"></a> How To: Check Whether Non-Transactional Access Is Enabled on Databases
5252
Query the catalog view [sys.database_filestream_options &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-database-filestream-options-transact-sql.md) and check the **non_transacted_access** and **non_transacted_access_desc** columns.
53-
54-
```sql
53+
54+
```sql
5555
SELECT DB_NAME(database_id), non_transacted_access, non_transacted_access_desc
5656
FROM sys.database_filestream_options;
5757
GO
58-
```
59-
58+
```
59+
6060
### <a name="HowToNTAccess"></a> How To: Enable Non-Transactional Access at the Database Level
6161
The available levels of non-transactional access are FULL, READ_ONLY, and OFF.
6262

6363
**Specify the level of non-transactional access by using Transact-SQL**
64-
- When you **create a new database**, call the [CREATE DATABASE &#40;SQL Server Transact-SQL&#41;](../../t-sql/statements/create-database-sql-server-transact-sql.md) statement with the **NON_TRANSACTED_ACCESS** FILESTREAM option.
65-
66-
```sql
64+
- When you **create a new database**, call the [CREATE DATABASE &#40;SQL Server Transact-SQL&#41;](../../t-sql/statements/create-database-sql-server-transact-sql.md) statement with the **NON_TRANSACTED_ACCESS** FILESTREAM option.
65+
66+
```sql
6767
CREATE DATABASE database_name
6868
WITH FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' )
69-
```
70-
69+
```
70+
7171
- When you **alter an existing database**, call the [ALTER DATABASE &#40;Transact-SQL&#41;](../../t-sql/statements/alter-database-transact-sql.md) statement with the **NON_TRANSACTED_ACCESS** FILESTREAM option.
7272

7373
```sql

0 commit comments

Comments
 (0)