Skip to content

Commit b214fa0

Browse files
authored
Merge pull request #20249 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to master to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 0d04960 + de57b96 commit b214fa0

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/relational-databases/backup-restore/backup-overview-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ ms.author: chadam
121121

122122
- If you try to create or delete a database file while a backup operation is in progress, the create or delete operation fails.
123123

124-
If a backup operation overlaps with a file-management operation or shrink operation, a conflict occurs. Regardless of which of the conflicting operation began first, the second operation waits for the lock set by the first operation to time out. (The time-out period is controlled by a session time-out setting.) If the lock is released during the time-out period, the second operation continues. If the lock times out, the second operation fails.
124+
If a backup operation overlaps with a file-management operation or shrink operation, a conflict occurs. Regardless of which of the conflicting operations began first, the second operation waits for the lock set by the first operation to time out. (The time-out period is controlled by a session time-out setting.) If the lock is released during the time-out period, the second operation continues. If the lock times out, the second operation fails.
125125

126126
## <a name="RelatedTasks"></a> Related tasks
127127
**Backup devices and backup media**

docs/relational-databases/in-memory-oltp/bind-a-database-with-memory-optimized-tables-to-a-resource-pool.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ GO
141141

142142
1. Use `ALTER RESOURCE POOL` to change the value of both MIN_MEMORY_PERCENT and MAX_MEMORY_PERCENT.
143143

144-
2. Use `ALTER RESURCE GOVERNOR` to reconfigure the Resource Governor with the new values.
144+
2. Use `ALTER RESOURCE GOVERNOR` to reconfigure the Resource Governor with the new values.
145145

146146
**Sample Code**
147147

@@ -170,7 +170,7 @@ GO
170170
|\<= 96 GB|85%|
171171
|>96 GB|90%|
172172

173-
For example, if your 'target committed memory' is 100 GB, and you estimate your memory-optimized tables and indexes need 60GBof memory, then you can create a resource pool with MAX_MEMORY_PERCENT = 67 (60GB needed / 0.90 = 66.667GB - round up to 67GB; 67GB / 100GB installed = 67%) to ensure that your [!INCLUDE[hek_2](../../includes/hek-2-md.md)] objects have the 60GB they need.
173+
For example, if your 'target committed memory' is 100 GB, and you estimate your memory-optimized tables and indexes need 60GB of memory, then you can create a resource pool with MAX_MEMORY_PERCENT = 67 (60GB needed / 0.90 = 66.667GB - round up to 67GB; 67GB / 100GB installed = 67%) to ensure that your [!INCLUDE[hek_2](../../includes/hek-2-md.md)] objects have the 60GB they need.
174174

175175
Once a database has been bound to a named resource pool, use the following query to see memory allocations across different resource pools.
176176

@@ -195,7 +195,7 @@ pool_id Name min_memory_percent max_memory_percent max_memory_mb used
195195
----------- ----------- ------------------ ------------------ ------------- -------------- ----------------
196196
1 internal 0 100 3845 125 3845
197197
2 default 0 100 3845 32 3845
198-
259 PoolIMOLTP 0 100 3845 1356 2307
198+
259 Pool_IMOLTP 0 100 3845 1356 2307
199199
```
200200

201201
For more information, see [sys.dm_resource_governor_resource_pools (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-resource-governor-resource-pools-transact-sql.md).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ If more than one temporary table is created inside a single stored procedure or
10621062

10631063
If you include a *schema_name* when you create or access a temporary table, it is ignored. All temporary tables are created in the dbo schema.
10641064

1065-
If a local temporary table is created in a stored procedure or application that can be executed at the same time by several users, the [!INCLUDE[ssDE](../../includes/ssde-md.md)] must be able to distinguish the tables created by the different users. The [!INCLUDE[ssDE](../../includes/ssde-md.md)] does this by internally appending a numeric suffix to each local temporary table name. The full name of a temporary table as stored in the `sys.sysobjects` table in `tempdb` is made up of the table name specified in the CREATE TABLE statement and the system-generated numeric suffix. To allow for the suffix, *table_name* specified for a local temporary name cannot exceed 116 characters.
1065+
If a local temporary table is created in a stored procedure or application that can be executed at the same time by several sessions, the [!INCLUDE[ssDE](../../includes/ssde-md.md)] must be able to distinguish the tables created by the different sessions. The [!INCLUDE[ssDE](../../includes/ssde-md.md)] does this by internally appending a numeric suffix to each local temporary table name. The full name of a temporary table as stored in the `sys.sysobjects` table in `tempdb` is made up of the table name specified in the CREATE TABLE statement and the system-generated numeric suffix. To allow for the suffix, *table_name* specified for a local temporary name cannot exceed 116 characters.
10661066

10671067
Temporary tables are automatically dropped when they go out of scope, unless explicitly dropped by using DROP TABLE:
10681068

docs/tools/sqlcmd-utility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ We recommend that you use a strong password.
420420
> [!NOTE]
421421
> The actual time out value may vary from the specified *time_out* value by several seconds.
422422
423-
**-vvar =** _value_[ **var =** _value_...]
423+
**-v var =** _value_[ **var =** _value_...]
424424
Creates a **sqlcmd**scripting variable that can be used in a **sqlcmd** script. Enclose the value in quotation marks if the value contains spaces. You can specify multiple _**var**_=**"**_values_**"** values. If there are errors in any of the values specified, **sqlcmd** generates an error message and then exits.
425425

426426
`sqlcmd -v MyVar1=something MyVar2="some thing"`

0 commit comments

Comments
 (0)