Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 8bc4fa5

Browse files
authored
Merge pull request #32637 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 7ad39da + f5bf3bb commit 8bc4fa5

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

docs/database-engine/availability-groups/windows/contained-availability-groups-overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ The system databases in a newly created contained AG aren't copies from the inst
5353

5454
If you create local users or configurations in your instance, they don't automatically appear when you create your contained system databases, and they aren't visible when you connect to the contained AG. Once the user database has been joined to a contained AG, it will immediately become inaccessible to these users. You need to manually re-create them in the contained system databases within the context of the contained AG, by connecting directly to the database or by using the listener endpoint. The exception to this is that all of the logins in the sysadmin role in the parent instance are copied into the new AG specific `master` database.
5555

56+
> [!NOTE]
57+
> Because the `master` database is separate for each contained availability group, server-scope activities performed in the context of the contained AG are only persisted in the contained system database. This includes auditing. If you audit server level activity with SQL Server Auditing, you must create the same server audits within each contained AG.
58+
5659
#### Restore a contained system database
5760

5861
You can restore a contained system database using one of two different ways.

docs/relational-databases/security/dynamic-data-masking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You don't need any special permission to create a table with a dynamic data mask
6363
Adding, replacing, or removing the mask of a column, requires the **ALTER ANY MASK** permission and **ALTER** permission on the table. It's appropriate to grant **ALTER ANY MASK** to a security officer.
6464

6565
> [!NOTE]
66-
> The UNMASK permission does not influence metadata visibility: granting UNMASK alone doesn't disclose any metadata. UNMASK will always need to be accompanied by a SELECT permission to have any effect. Example: granting UNMASK on database scope and granting SELECT on an individual Table will have the result that the user can only see the metadata of the individual table from which he can select, not any others. Also see [Metadata Visibility Configuration](../../relational-databases/security/metadata-visibility-configuration.md).
66+
> The UNMASK permission does not influence metadata visibility: granting UNMASK alone doesn't disclose any metadata. UNMASK will always need to be accompanied by a SELECT permission to have any effect. Example: granting UNMASK on database scope and granting SELECT on an individual Table will have the result that the user can only see the metadata of the individual table from which they can select, not any others. Also see [Metadata Visibility Configuration](../../relational-databases/security/metadata-visibility-configuration.md).
6767
6868
## Best practices and common use cases
6969

docs/t-sql/statements/alter-database-scoped-configuration-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ Sets [!INCLUDE [tsql](../../includes/tsql-md.md)] and query processing behaviors
453453

454454
#### EXEC_QUERY_STATS_FOR_SCALAR_FUNCTIONS = { ON | OFF }
455455

456-
**Applies to:** [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] and [!INCLUDE [ssazuremi](../../includes/ssazuremi-md.md)]
456+
**Applies to:** [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] and later versions, [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)], and [!INCLUDE [ssazuremi](../../includes/ssazuremi-md.md)]
457457

458458
Allows you to control whether execution statistics for scalar user-defined functions (UDF) appear in the [sys.dm_exec_function_stats](../../relational-databases/system-dynamic-management-views/sys-dm-exec-function-stats-transact-sql.md) system view. For some intensive workloads that are scalar UDF-heavy, collecting function execution statistics might cause a noticeable performance overhead. This can be avoided by setting the `EXEC_QUERY_STATS_FOR_SCALAR_FUNCTIONS` database-scoped configuration to `OFF`. The default is **ON**.
459459

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,8 @@ CREATE DATABASE database_name [ COLLATE collation_name ]
13671367
```
13681368
> [!IMPORTANT]
13691369
> To add files or set containment for a database in a managed instance, use the [ALTER DATABASE](alter-database-transact-sql.md?tabs=sqldbmi) statement.
1370+
>
1371+
> For SQL managed instances, the initial MAXSIZE is implicitly set to the current disk size, and it doesn't change automatically when you extend the disk size from the Azure portal. After extending the disk, you should also extend MAXSIZE with [ALTER DATABASE](alter-database-transact-sql.md?tabs=sqldbmi) to avoid database file full errors.
13701372
13711373
## Arguments
13721374

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ Creates a new table in the database.
5959
> For reference to [!INCLUDE [fabricdw](../../includes/fabric-dw.md)] in [!INCLUDE [fabric](../../includes/fabric.md)], visit [CREATE TABLE (Fabric Data Warehouse)](create-table-azure-sql-data-warehouse.md?view=fabric&preserve-view=true).
6060
> For reference to [!INCLUDE[ssazuresynapse-md](../../includes/ssazuresynapse-md.md)] and [!INCLUDE[ssPDW](../../includes/sspdw-md.md)], visit [CREATE TABLE (Azure Synapse Analytics)](create-table-azure-sql-data-warehouse.md?view=azure-sqldw-latest&preserve-view=true).
6161
62-
6362
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: [Transact-SQL syntax conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
6463

6564
## Syntax options
@@ -109,7 +108,7 @@ column_name <data_type>
109108
[ SPARSE ]
110109
[ MASKED WITH ( FUNCTION = 'mask_function' ) ]
111110
[ [ CONSTRAINT constraint_name ] DEFAULT constant_expression ]
112-
[ IDENTITY [ ( seed , increment ) ]
111+
[ IDENTITY [ ( seed , increment ) ] ]
113112
[ NOT FOR REPLICATION ]
114113
[ GENERATED ALWAYS AS { ROW | TRANSACTION_ID | SEQUENCE_NUMBER } { START | END } [ HIDDEN ] ]
115114
[ [ CONSTRAINT constraint_name ] {NULL | NOT NULL} ]
@@ -253,7 +252,7 @@ column_set_name XML COLUMN_SET FOR ALL_SPARSE_COLUMNS
253252
{ (
254253
FILTER_COLUMN = column_name,
255254
RETENTION_PERIOD = { INFINITE | number { DAY | DAYS | WEEK | WEEKS
256-
| MONTH | MONTHS | YEAR | YEARS }
255+
| MONTH | MONTHS | YEAR | YEARS } }
257256
) }
258257
]
259258
[ LEDGER = ON [ ( <ledger_option> [ ,... n ] ) ]

0 commit comments

Comments
 (0)