You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1bab710
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/relational-databases/blob/enable-the-prerequisites-for-filetable.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,17 +63,17 @@ GO
63
63
**Specify the level of non-transactional access by using Transact-SQL**
64
64
- When you **create a new database**, call the [CREATE DATABASE (SQL Server Transact-SQL)](../../t-sql/statements/create-database-sql-server-transact-sql.md) statement with the **NON_TRANSACTED_ACCESS** FILESTREAM option.
65
65
66
-
```sql
67
-
CREATEDATABASEdatabase_name
68
-
WITH FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' )
69
-
```
66
+
```sql
67
+
CREATEDATABASEdatabase_name
68
+
WITH FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' )
69
+
```
70
70
71
71
- When you **alter an existing database**, call the [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md) statement with the **NON_TRANSACTED_ACCESS** FILESTREAM option.
72
72
73
-
```sql
74
-
ALTERDATABASE database_name
75
-
SET FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' )
76
-
```
73
+
```sql
74
+
ALTERDATABASE database_name
75
+
SET FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' )
76
+
```
77
77
78
78
**Specify the level of non-transactional access by using SQL Server Management Studio**
79
79
You can specify the level of non-transactional access in the **FILESTREAM Non-transacted Access** field of the **Options** page of the **Database Properties** dialog box. For more information about this dialog box, see [Database Properties (Options Page)](../../relational-databases/databases/database-properties-options-page.md).
@@ -89,11 +89,11 @@ ALTER DATABASE database_name
89
89
**Specify a directory for FileTables by using Transact-SQL**
90
90
- When you **create a new database**, call the [CREATE DATABASE (SQL Server Transact-SQL)](../../t-sql/statements/create-database-sql-server-transact-sql.md) statement with the **DIRECTORY_NAME** FILESTREAM option.
91
91
92
-
```sql
93
-
CREATEDATABASEdatabase_name
94
-
WITH FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' );
95
-
GO
96
-
```
92
+
```sql
93
+
CREATEDATABASEdatabase_name
94
+
WITH FILESTREAM ( NON_TRANSACTED_ACCESS = FULL, DIRECTORY_NAME = N'directory_name' );
95
+
GO
96
+
```
97
97
98
98
- When you **alter an existing database**, call the [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md) statement with the **DIRECTORY_NAME** FILESTREAM option. When you use these options to change the directory name, the database must be exclusively locked, with no open file handles.
0 commit comments