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

Commit aabd597

Browse files
committed
updates for keyword Label for SQL DW
1 parent 43991e8 commit aabd597

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

docs/relational-databases/system-catalog-views/sys-sensitivity-classifications-transact-sql.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@ Returns a row for each classified item in the database.
5656

5757
The following example returns a table listing the table name, column name, label, label ID, information type, information type ID for each classified column in the database.
5858

59+
> [!NOTE]
60+
> Label is a keyword for Azure SQL Data Warehouse.
61+
5962
```sql
6063
SELECT
6164
sys.all_objects.name AS TableName, sys.all_columns.name As ColumnName,
62-
Label, Label_ID, Information_Type, Information_Type_ID
65+
[Label], Label_ID, Information_Type, Information_Type_ID
6366
FROM
6467
sys.sensitivity_classifications
6568
left join sys.all_objects on sys.sensitivity_classifications.major_id = sys.all_objects.object_id

docs/t-sql/language-elements/reserved-keywords-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
2626

2727
[!INCLUDE[msCoName](../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] uses reserved keywords for defining, manipulating, and accessing databases. Reserved keywords are part of the grammar of the [!INCLUDE[tsql](../../includes/tsql-md.md)] language that is used by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to parse and understand [!INCLUDE[tsql](../../includes/tsql-md.md)] statements and batches. Although it is syntactically possible to use [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] reserved keywords as identifiers and object names in [!INCLUDE[tsql](../../includes/tsql-md.md)] scripts, you can do this only by using delimited identifiers.
2828

29-
The following table lists [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] and SQL Data Warehouse reserved keywords.
29+
The following table lists [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] and Azure SQL Data Warehouse reserved keywords.
3030

3131
||||
3232
|-|-|-|
@@ -93,11 +93,11 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
9393
|EXISTS|PRINT|WRITETEXT|
9494
|EXIT|PROC||
9595

96-
The following table lists reserved keywords that are exclusive to **SQL Data Warehouse**.
96+
The following table lists reserved keywords that are exclusive to **Azure SQL Data Warehouse**.
9797

9898
|||
9999
|-|-|
100-
|**Label**||
100+
|**LABEL**||
101101

102102
Additionally, the ISO standard defines a list of reserved keywords. Avoid using ISO reserved keywords for object names and identifiers. The ODBC reserved keyword list, shown in the following table, is the same as the ISO reserved keyword list.
103103

0 commit comments

Comments
 (0)