Skip to content

Commit 94ca99b

Browse files
authored
Merge pull request MicrosoftDocs#6090 from TwoUnder/master
Updating some T-SQL coverage for SQL DW
2 parents 8f82649 + 32d9d09 commit 94ca99b

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/relational-databases/system-catalog-views/sys-pdw-table-mappings-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "sys.pdw_table_mappings (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/03/2017"
4+
ms.date: "06/01/2018"
55
ms.prod: ""
66
ms.prod_service: "sql-data-warehouse, pdw"
77
ms.service: "sql-data-warehouse"
@@ -18,10 +18,10 @@ caps.latest.revision: 7
1818
author: ronortloff
1919
ms.author: rortloff
2020
manager: craigg
21-
monikerRange: ">= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allversions"
21+
monikerRange: ">= aps-pdw-2016 || = sqlallproducts-allversions"
2222
---
2323
# sys.pdw_table_mappings (Transact-SQL)
24-
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-pdw-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-pdw-md.md)]
24+
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md](../../includes/tsql-appliesto-xxxxxx-xxxx-xxxx-pdw-md.md)]
2525

2626
Ties user tables to internal object names by **object_id**.
2727

docs/t-sql/statements/alter-database-transact-sql-set-options.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "ALTER DATABASE SET Options (Transact-SQL) | Microsoft Docs"
33
description: Learn about how to set database options such as automatic tuning, encryption, query store in a SQL Server and Azure SQL Database
44
ms.custom: ""
5-
ms.date: "12/20/2017"
5+
ms.date: "6/01/2018"
66
ms.prod: sql
77
ms.prod_service: "database-engine, sql-database"
88
ms.component: "t-sql|statements"
@@ -35,9 +35,9 @@ ms.author: edmaca
3535
manager: craigg
3636
---
3737
# ALTER DATABASE SET Options (Transact-SQL)
38-
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]
38+
[!INCLUDE[tsql-appliesto-ss2008-asdb-asdw-xxx-md](../../includes/tsql-appliesto-ss2008-asdb-asdw-xxx-md.md)]
3939

40-
This topic contains the ALTER DATABASE syntax that is related to setting database options in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. For other ALTER DATABASE syntax, see the following topics.
40+
This article contains the ALTER DATABASE syntax that is related to setting database options in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. For other ALTER DATABASE syntax, see the following topics.
4141

4242
- [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
4343

@@ -269,7 +269,7 @@ SET
269269

270270
`CURRENT` performs the action in the current database. `CURRENT` is not supported for all options in all contexts. If `CURRENT` fails, provide the database name.
271271

272-
**\<auto_option> ::=**
272+
**\<auto_option> ::=**
273273

274274
Controls automatic options.
275275
<a name="auto_close"></a> AUTO_CLOSE { ON | OFF }
@@ -433,7 +433,7 @@ SET
433433
OFF
434434
Cursors remain open when a transaction is committed; rolling back a transaction closes any cursors except those defined as INSENSITIVE or STATIC.
435435

436-
Connection-level settings that are set by using the SET statement override the default database setting for CURSOR_CLOSE_ON_COMMIT. By default, ODBC and OLE DB clients issue a connection-level SET statement setting CURSOR_CLOSE_ON_COMMIT to OFF for the session when connecting to an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. For more information, see [SET CURSOR_CLOSE_ON_COMMIT &#40;Transact-SQL&#41;](../../t-sql/statements/set-cursor-close-on-commit-transact-sql.md).
436+
Connection-level settings that are set by using the SET statement override the default database setting for CURSOR_CLOSE_ON_COMMIT. By default, ODBC, and OLE DB clients issue a connection-level SET statement setting CURSOR_CLOSE_ON_COMMIT to OFF for the session when connecting to an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. For more information, see [SET CURSOR_CLOSE_ON_COMMIT &#40;Transact-SQL&#41;](../../t-sql/statements/set-cursor-close-on-commit-transact-sql.md).
437437

438438
The status of this option can be determined by examining the is_cursor_close_on_commit_on column in the sys.databases catalog view or the IsCloseCursorsOnCommitEnabled property of the DATABASEPROPERTYEX function.
439439

@@ -533,7 +533,7 @@ SET
533533
SINGLE_USER
534534
**Applies to**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Not available in [!INCLUDE[ssSDS](../../includes/sssds-md.md)].
535535

536-
Specifies that only one user at a time can access the database. If SINGLE_USER is specified and there are other users connected to the database the ALTER DATABASE statement will be blocked until all users disconnect from the specified database. To override this behavior, see the WITH \<termination> clause.
536+
Specifies that only one user at a time can access the database. If SINGLE_USER is specified and there are other users connected to the database, the ALTER DATABASE statement will be blocked until all users disconnect from the specified database. To override this behavior, see the WITH \<termination> clause.
537537

538538
The database remains in SINGLE_USER mode even if the user that set the option logs off. At that point, a different user, but only one, can connect to the database.
539539

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,15 +313,15 @@ ALTER TABLE [ database_name . [schema_name ] . | schema_name. ] source_table_nam
313313

314314
- Associated with a default definition. However, the length, precision, or scale of a column can be changed if the data type is not changed.
315315

316-
The data type of **text**, **ntext** and **image** columns can be changed only in the following ways:
316+
The data type of **text**, **ntext, and **image** columns can be changed only in the following ways:
317317

318318
- **text** to **varchar(max)**, **nvarchar(max)**, or **xml**
319319

320320
- **ntext** to **varchar(max)**, **nvarchar(max)**, or **xml**
321321

322322
- **image** to **varbinary(max)**
323323

324-
Some data type changes may cause a change in the data. For example, changing an **nchar** or **nvarchar** column to **char** or **varchar** may cause the conversion of extended characters. For more information, see [CAST and CONVERT &#40;Transact-SQL&#41;](../../t-sql/functions/cast-and-convert-transact-sql.md). Reducing the precision or scale of a column may cause data truncation.
324+
Some data type changes may cause a change in the data. For example, changing a nchar** or **nvarchar** column to **char** or **varchar** may cause the conversion of extended characters. For more information, see [CAST and CONVERT &#40;Transact-SQL&#41;](../../t-sql/functions/cast-and-convert-transact-sql.md). Reducing the precision or scale of a column may cause data truncation.
325325

326326
> [!NOTE]
327327
> The data type of a column of a partitioned table cannot be changed.

0 commit comments

Comments
 (0)