From a9666603784a3d509e25e4e27389a75f6ad03fce Mon Sep 17 00:00:00 2001 From: sommarskog Date: Tue, 5 May 2026 21:35:24 +0200 Subject: [PATCH] Update create-database-transact-sql.md Removed text for DB_CHAINING and TRUSTWORTHY that only applies to ALTER DATABASE, but not to CREATE DATABASE. See also discussion in PR https://github.com/MicrosoftDocs/sql-docs/pull/10326 --- docs/t-sql/statements/create-database-transact-sql.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/t-sql/statements/create-database-transact-sql.md b/docs/t-sql/statements/create-database-transact-sql.md index 4be11304ef5..4bca3c5a4c9 100644 --- a/docs/t-sql/statements/create-database-transact-sql.md +++ b/docs/t-sql/statements/create-database-transact-sql.md @@ -272,7 +272,6 @@ When `OFF`, the database can't participate in cross-database ownership chaining. > [!IMPORTANT] > The instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] recognizes this setting when the cross database ownership chaining server option is 0 (`OFF`). When cross-database ownership chaining is 1 (`ON`), all user databases can participate in cross-database ownership chains, regardless of the value of this option. This option is set by using [sp_configure](../../relational-databases/system-stored-procedures/sp-configure-transact-sql.md). -To set this option, requires membership in the **sysadmin** fixed server role. The `DB_CHAINING` option can't be set on these system databases: `master`, `model`, `tempdb`. #### TRUSTWORTHY { OFF | ON } @@ -282,8 +281,6 @@ When `OFF`, database modules in an impersonation context can't access resources `TRUSTWORTHY` is set to `OFF` whenever the database is attached. -By default, all system databases except the `msdb` database have `TRUSTWORTHY` set to `OFF`. The value can't be changed for the `model` and `tempdb` databases. We recommend that you never set the `TRUSTWORTHY` option to `ON` for the `master` database. - #### PERSISTENT_LOG_BUFFER = ON ( DIRECTORY_NAME = '*directory_name*' ) **Applies to**: [!INCLUDE [ssSQL17](../../includes/sssql17-md.md)] and later versions