Skip to content

Commit ef48187

Browse files
authored
Merge pull request #31728 from MicrosoftDocs/main
9/02/2024 AM Publish
2 parents d252adb + 0ccb9c0 commit ef48187

9 files changed

Lines changed: 361 additions & 360 deletions

File tree

azure-sql/includes/policy/standards/byrp/microsoft.sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ To review how the available Azure Policy built-ins for all Azure services map to
167167
standard, see
168168
[Azure Policy Regulatory Compliance - CMMC Level 3](/azure/governance/policy/samples/cmmc-l3).
169169
For more information about this compliance standard, see
170-
[Cybersecurity Maturity Model Certification (CMMC)](https://www.acq.osd.mil/cmmc/documentation.html).
170+
[Cybersecurity Maturity Model Certification (CMMC)](https://dodcio.defense.gov/CMMC/).
171171

172172
|Domain |Control ID |Control title |Policy<br /><sub>(Azure portal)</sub> |Policy version<br /><sub>(GitHub)</sub> |
173173
|---|---|---|---|---|

docs/big-data-cluster/performance-guidelines-tuned.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ For more resources including reference architectures for SQL Server Big Data Clu
159159

160160
* [Case Study: SQL Workloads running on Apache Spark in MS SQL Server 2019 Big Data Cluster](https://aka.ms/sql-bdc-spark-perf/)
161161

162-
* [Dell EMC PowerStore: Microsoft SQL Server 2019 Big Data Clusters](https://www.dellemc.com/resources/en-us/asset/white-papers/products/storage/h18231-dell-emc-powerstore-sql-server-big-data-clusters.pdf)
163-
164162
* [Microsoft SQL Server 2019 Big Data Clusters: A Big Data Solution Using Dell EMC Infrastructure](https://infohub.delltechnologies.com/t/microsoft-sql-server-2019-big-data-clusters-a-big-data-solution-using-dell-emc-infrastructure/)
165163

166164
* [Microsoft SQL Server 2019 Big Data Clusters on Cisco UCS Reference Architecture](https://www.cisco.com/c/en/us/solutions/collateral/data-center-virtualization/unified-computing/sql-server-on-big-data-cluster-on-ucs.html)

docs/big-data-cluster/spark-3-upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This new version of Apache Spark brings performance benefits over big data proce
3434
Spark 3 is a major release and __contains breaking changes__. Following the same established best practice in the SQL Server universe, it's recommended:
3535

3636
1. Review this article entirely.
37-
1. Review the official [Apache Spark 3 Migration Guide](https://spark.apache.org/docs/3.1.2/core-migration-guide.html).
37+
1. Review the official [Apache Spark 3 Migration Guide](https://archive.apache.org/dist/spark/docs/3.1.2/migration-guide.html).
3838
1. Perform a side-by-side deployment of a new big data cluster version CU13 with your current environment.
3939
1. (Optional) Leverage the new [azdata HDFS distributed copy](distributed-data-copy-hdfs.md) capability to have a subset of your data needed for validation.
4040
1. Validate your current workload with Spark 3 before upgrading.
@@ -112,7 +112,7 @@ Here is a sample pom.xml as below:
112112

113113
## Spark 3 API changes and deprecations
114114

115-
Review the official [Apache Spark 3 Migration Guide](https://spark.apache.org/docs/3.1.2/core-migration-guide.html), which covers all API changes in detail.
115+
Review the official [Apache Spark 3 Migration Guide](https://archive.apache.org/dist/spark/docs/3.1.2/migration-guide.html), which covers all API changes in detail.
116116

117117
Some captured highlights are:
118118

docs/connect/odbc/linux-mac/release-notes-odbc-sql-server-linux-mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ GeneMi. 2019/04/03.
3434
| :------- | :------ |
3535
| New distributions supported. | Ubuntu 24.04, Alpine 3.19 |
3636
| Accept EULA by file presence. | Added the ability to accept the EULA for DEB and RPM packages by the presence of a file. |
37-
| Microsoft Entra ID | Renamed all occurrences of "Azure Active Directory" to "Microsoft Entra ID". See [New name for Azure Active Directory](https://learn.microsoft.com/entra/fundamentals/new-name) for more information. |
37+
| Microsoft Entra ID | Renamed all occurrences of "Azure Active Directory" to "Microsoft Entra ID". See [New name for Azure Active Directory](/entra/fundamentals/new-name) for more information. |
3838
| Bug fixes. | [Bug fixes](../bug-fixes.md). |
3939

4040
## 18.3.3, April 2024

docs/connect/odbc/windows/release-notes-odbc-sql-server-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For the ARM64 driver: [Chinese (Simplified)](https://go.microsoft.com/fwlink/?li
2929

3030
| New item | Details |
3131
| :------- | :------ |
32-
| Microsoft Entra ID | Renamed all occurrences of "Azure Active Directory" to "Microsoft Entra ID". See [New name for Azure Active Directory](https://learn.microsoft.com/entra/fundamentals/new-name) for more information. |
32+
| Microsoft Entra ID | Renamed all occurrences of "Azure Active Directory" to "Microsoft Entra ID". See [New name for Azure Active Directory](/entra/fundamentals/new-name) for more information. |
3333
| Bug fixes. | [Bug fixes](../bug-fixes.md). |
3434

3535
## 18.3.3

docs/relational-databases/databases/move-system-databases.md

Lines changed: 274 additions & 276 deletions
Large diffs are not rendered by default.

docs/relational-databases/system-stored-procedures/sp-cursor-list-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sp_cursor_list
3737

3838
#### [ @cursor_return = ] *cursor_return* OUTPUT
3939

40-
The name of a declared cursor variable. *@cursor_return* is an OUTPUT parameter of type **int**. The cursor is a scrollable, dynamic, read-only cursor.
40+
The name of a declared cursor variable. *@cursor_return* is an OUTPUT parameter of type **CURSOR**. The cursor is a scrollable, dynamic, read-only cursor.
4141

4242
#### [ @cursor_scope = ] *cursor_scope*
4343

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ column_set_name XML COLUMN_SET FOR ALL_SPARSE_COLUMNS
199199
[ ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ]
200200
[ NOT FOR REPLICATION ]
201201
| CHECK [ NOT FOR REPLICATION ] ( logical_expression )
202+
}
202203
203204
<table_index> ::=
204205
{
@@ -257,7 +258,7 @@ column_set_name XML COLUMN_SET FOR ALL_SPARSE_COLUMNS
257258
258259
<ledger_option>::=
259260
{
260-
[ LEDGER_VIEW = schema_name.ledger_view_name [ ( <ledger_view_option> [ ,... n ] ) ]
261+
[ LEDGER_VIEW = schema_name.ledger_view_name [ ( <ledger_view_option> [ ,... n ] ) ] ]
261262
[ APPEND_ONLY = ON | OFF ]
262263
}
263264
@@ -291,7 +292,7 @@ column_set_name XML COLUMN_SET FOR ALL_SPARSE_COLUMNS
291292
[ ,... n ] ) ]
292293
| XML_COMPRESSION = { ON | OFF }
293294
[ ON PARTITIONS ( { <partition_number_expression> | <range> }
294-
[ ,... n ] ) ] ]
295+
[ ,... n ] ) ]
295296
}
296297
297298
<range> ::=
@@ -1555,7 +1556,7 @@ CREATE TABLE dbo.PurchaseOrderDetail
15551556
PRIMARY KEY CLUSTERED (PurchaseOrderID, LineNumber)
15561557
WITH (IGNORE_DUP_KEY = OFF)
15571558
)
1558-
ON PRIMARY;
1559+
ON [PRIMARY];
15591560
```
15601561

15611562
### G. Create a table with an xml column typed to an XML schema collection
Lines changed: 77 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,77 @@
1-
---
2-
title: "SET LANGUAGE (Transact-SQL)"
3-
description: SET LANGUAGE (Transact-SQL)
4-
author: WilliamDAssafMSFT
5-
ms.author: wiassaf
6-
ms.date: "06/05/2017"
7-
ms.service: sql
8-
ms.subservice: t-sql
9-
ms.topic: reference
10-
f1_keywords:
11-
- "SET_LANGUAGE_TSQL"
12-
- "SET LANGUAGE"
13-
helpviewer_keywords:
14-
- "LANGUAGE option"
15-
- "languages [SQL Server], setting language"
16-
- "SET LANGUAGE statement"
17-
- "options [SQL Server], date"
18-
- "default languages"
19-
dev_langs:
20-
- "TSQL"
21-
monikerRange: "=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current||=fabric"
22-
---
23-
# SET LANGUAGE (Transact-SQL)
24-
[!INCLUDE [sql-asdb-asdbmi-asa-pdw-fabricse-fabricdw](../../includes/applies-to-version/sql-asdb-asdbmi-asa-fabricse-fabricdw.md)]
25-
26-
Specifies the language environment for the session. The session language determines the **datetime** formats and system messages.
27-
28-
29-
:::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)
30-
31-
## Syntax
32-
33-
```syntaxsql
34-
35-
SET LANGUAGE { [ N ] 'language' | @language_var }
36-
```
37-
38-
[!INCLUDE[sql-server-tsql-previous-offline-documentation](../../includes/sql-server-tsql-previous-offline-documentation.md)]
39-
40-
## Arguments
41-
[**N**]**'**_language_**'** | **@**_language\_var_
42-
Is the name of the language as stored in [sys.syslanguages](../../relational-databases/system-compatibility-views/sys-syslanguages-transact-sql.md). This argument can be either Unicode or DBCS converted to Unicode. To specify a language in Unicode, use **N'**_language_**'**. If specified as a variable, the variable must be **sysname**.
43-
44-
## Remarks
45-
The setting of SET LANGUAGE is set at execute or run time and not at parse time.
46-
47-
SET LANGUAGE implicitly sets the setting of [SET DATEFORMAT](../../t-sql/statements/set-dateformat-transact-sql.md).
48-
49-
## Permissions
50-
Requires membership in the **public** role.
51-
52-
## Examples
53-
The following example sets the default language to `Italian`, displays the month name, and then switches back to `us_english` and displays the month name again.
54-
55-
```sql
56-
DECLARE @Today DATETIME;
57-
SET @Today = '12/5/2007';
58-
59-
SET LANGUAGE Italian;
60-
SELECT DATENAME(month, @Today) AS 'Month Name';
61-
62-
SET LANGUAGE us_english;
63-
SELECT DATENAME(month, @Today) AS 'Month Name' ;
64-
GO
65-
```
66-
67-
## See Also
68-
[Data Types &#40;Transact-SQL&#41;](../../t-sql/data-types/data-types-transact-sql.md)
69-
[syslanguages](../../relational-databases/system-compatibility-views/sys-syslanguages-transact-sql.md)
70-
[sp_helplanguage &#40;Transact-SQL&#41;](../../relational-databases/system-stored-procedures/sp-helplanguage-transact-sql.md)
71-
[SET Statements &#40;Transact-SQL&#41;](../../t-sql/statements/set-statements-transact-sql.md)
72-
73-
1+
---
2+
title: "SET LANGUAGE (Transact-SQL)"
3+
description: SET LANGUAGE specifies the language environment for the session.
4+
author: WilliamDAssafMSFT
5+
ms.author: wiassaf
6+
ms.reviewer: randolphwest
7+
ms.date: 08/30/2024
8+
ms.service: sql
9+
ms.subservice: t-sql
10+
ms.topic: reference
11+
f1_keywords:
12+
- "SET_LANGUAGE_TSQL"
13+
- "SET LANGUAGE"
14+
helpviewer_keywords:
15+
- "LANGUAGE option"
16+
- "languages [SQL Server], setting language"
17+
- "SET LANGUAGE statement"
18+
- "options [SQL Server], date"
19+
- "default languages"
20+
dev_langs:
21+
- "TSQL"
22+
monikerRange: "=azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric"
23+
---
24+
# SET LANGUAGE (Transact-SQL)
25+
26+
[!INCLUDE [sql-asdb-asdbmi-asa-pdw-fabricse-fabricdw](../../includes/applies-to-version/sql-asdb-asdbmi-asa-fabricse-fabricdw.md)]
27+
28+
Specifies the language environment for the session. The session language determines the **datetime** formats and system messages.
29+
30+
:::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)
31+
32+
## Syntax
33+
34+
```syntaxsql
35+
SET LANGUAGE { [ N ] 'language' | @language_var }
36+
```
37+
38+
[!INCLUDE [sql-server-tsql-previous-offline-documentation](../../includes/sql-server-tsql-previous-offline-documentation.md)]
39+
40+
## Arguments
41+
42+
#### [N]'*language*' | @*language_var*
43+
44+
The name of the language as stored in [sys.syslanguages](../../relational-databases/system-compatibility-views/sys-syslanguages-transact-sql.md). This argument can be either Unicode or DBCS converted to Unicode. To specify a language in Unicode, use `N'<language>'`. If specified as a variable, the variable must be **sysname**.
45+
46+
## Remarks
47+
48+
The setting of `SET LANGUAGE` is set at execute or run time and not at parse time.
49+
50+
`SET LANGUAGE` implicitly sets the setting of [SET DATEFORMAT](set-dateformat-transact-sql.md).
51+
52+
## Permissions
53+
54+
Requires membership in the **public** role.
55+
56+
## Examples
57+
58+
The following example sets the default language to `Italian`, displays the month name, and then switches back to `us_english` and displays the month name again.
59+
60+
```sql
61+
DECLARE @Today DATETIME;
62+
SET @Today = '2024-08-05';
63+
64+
SET LANGUAGE Italian;
65+
SELECT DATENAME(month, @Today) AS 'Month Name';
66+
67+
SET LANGUAGE us_english;
68+
SELECT DATENAME(month, @Today) AS 'Month Name';
69+
GO
70+
```
71+
72+
## Related content
73+
74+
- [Data types (Transact-SQL)](../data-types/data-types-transact-sql.md)
75+
- [syslanguages](../../relational-databases/system-compatibility-views/sys-syslanguages-transact-sql.md)
76+
- [sp_helplanguage (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-helplanguage-transact-sql.md)
77+
- [SET Statements (Transact-SQL)](set-statements-transact-sql.md)

0 commit comments

Comments
 (0)