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

Commit f850c87

Browse files
authored
Merge pull request #10044 from MicrosoftDocs/master
4/25 AM Publish
2 parents 2271679 + 74aedda commit f850c87

14 files changed

Lines changed: 35 additions & 24 deletions

File tree

docs/advanced-analytics/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: SQL Server ++
2-
href: ../sql-server/sql-server-technical-documentation.md?toc=..%2ftoc%2ftoc.json
2+
href: ../sql-server/sql-server-technical-documentation.md?toc=../toc/toc.json
33

44
- name: SQL Server ML and Programming Extensions Documentation
55
href: ../advanced-analytics/home-advanced-analytics-r-machine-learning-sql-server.md
@@ -307,7 +307,7 @@
307307
- name: Resources
308308
items:
309309
- name: Release notes +
310-
href: ../sql-server/sql-server-2017-release-notes.md?toc=..%2ftoc%2ftoc.json
310+
href: ../sql-server/sql-server-2017-release-notes.md?toc=../toc/toc.json
311311
- name: Troubleshooting
312312
href: ../advanced-analytics/machine-learning-troubleshooting-faq.md
313313
items:

docs/analysis-services/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: SQL Server ++
2-
href: ../sql-server/sql-server-technical-documentation.md?toc=..%2ftoc%2ftoc.json
2+
href: ../sql-server/sql-server-technical-documentation.md?toc=../toc/toc.json
33

44
- name: About SQL Server Analysis Services
55
href: ../analysis-services/analysis-services.md

docs/analytics-platform-system/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: SQL Server ++
2-
href: ../sql-server/sql-server-technical-documentation.md?toc=..%2ftoc%2ftoc.json
2+
href: ../sql-server/sql-server-technical-documentation.md?toc=../toc/toc.json
33

44
- name: Overview of APS
55
href: ../analytics-platform-system/home-analytics-platform-system-aps-pdw.md

docs/connect/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: SQL Server ++
2-
href: ../sql-server/sql-server-technical-documentation.md?toc=..%2ftoc%2ftoc.json
2+
href: ../sql-server/sql-server-technical-documentation.md?toc=../toc/toc.json
33

44

55
- name: Programming to interact with SQL Server
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11

2-
> [!NOTE]
3-
> If you find something outdated or incorrect in this article, such as on a step or in a code example, please tell us. You can click the **This page** button in the **Feedback** section at the bottom of this page. Or better, if you know the fix, you can click the **Edit-pencil** icon at the top of this page, and then click the pencil icon on the GitHub page. Thank you!
2+
_We are listening:_ If you find something outdated or incorrect in this article, such as a step or a code example, please tell us. You can click the **This page** button in the **Feedback** section at the bottom of this page. Or better, if you know the fix, you can click the **Edit-pencil** icon at the top of this page, and then click the pencil icon on the GitHub page. We read every item of feedback about SQL, typically the next day. Thank you.
43

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ ms.date: 12/15/2018
9191
<div class="cardText">
9292
<h3>SQL Server on Windows</h3>
9393
<ul class="noBullet">
94-
<li><a class="barLink" href="/sql/sql-server/sql-server-technical-documentation?toc=..%2ftoc%2ftoc.json"><strong>On-premises</strong></a></li>
94+
<li><a class="barLink" href="/sql/sql-server/sql-server-technical-documentation?toc=../toc/toc.json"><strong>On-premises</strong></a></li>
9595
<li><a class="barLink" href="/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-server-iaas-overview/"> <strong>On an Azure VM</strong></a></li>
9696
<li><a class="barLink" href="/sql/sql-server/what-s-new-in-sql-server-ver15/"><strong>What's new</strong></a></li>
9797
</ul>

docs/integration-services/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: SQL Server ++
2-
href: ../sql-server/sql-server-technical-documentation.md?toc=..%2ftoc%2ftoc.json
2+
href: ../sql-server/sql-server-technical-documentation.md?toc=../toc/toc.json
33

44
- name: SQL Server Integration Services
55
href: ../integration-services/sql-server-integration-services.md

docs/relational-databases/collations/collation-and-unicode-support.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ This feature may provide significant storage savings, depending on the character
270270
## <a name="Related_Content"></a> Related Content
271271
[SQL Server Best Practices Collation Change](https://go.microsoft.com/fwlink/?LinkId=113891)
272272
[Use Unicode Character Format to Import or Export Data &#40;SQL Server&#41;](../../relational-databases/import-export/use-unicode-character-format-to-import-or-export-data-sql-server.md)
273+
[Write International Transact-SQL Statements](../../relational-databases/collations/write-international-transact-sql-statements.md)
273274
["SQL Server Best Practices Migration to Unicode"](https://go.microsoft.com/fwlink/?LinkId=113890) - No longer maintained
274275
[Unicode Consortium Web site](https://go.microsoft.com/fwlink/?LinkId=48619)
275276

docs/relational-databases/collations/write-international-transact-sql-statements.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Write International Transact-SQL Statements | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/14/2017"
4+
ms.date: "04/24/2019"
55
ms.prod: sql
66
ms.reviewer: ""
77
ms.technology:
@@ -23,10 +23,18 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
2323
# Write International Transact-SQL Statements
2424
[!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)]
2525
Databases and database applications that use [!INCLUDE[tsql](../../includes/tsql-md.md)] statements will become more portable from one language to another, or will support multiple languages, if the following guidelines are followed:
26-
27-
- Replace all uses of the **char**, **varchar**, and **text** data types with **nchar**, **nvarchar**, and **nvarchar(max)**. By doing this, you do not have to consider code page conversion issues. For more information, see [Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md).
28-
29-
- When you perform month and day-of-week comparisons and operations, use the numeric date parts instead of the name strings. Different language settings return different names for the months and weekdays. For example, DATENAME(MONTH,GETDATE()) returns May when the language is set to U.S. English, returns Mai when the language is set to German, and returns mai when the language is set to French. Instead, use a function such as DATEPART that uses the number of the month instead of the name. Use the DATEPART names when you build result sets to be displayed to a user, because the date names are frequently more meaningful than a numeric representation. However, do not code any logic that depends on the displayed names being from a specific language.
26+
27+
- Starting with [!INCLUDE[sql-server-2019](../../includes/sssqlv15-md.md)], use either:
28+
- The **char**, **varchar**, and **varchar(max)** data types with a [UTF-8 enabled collation](../../relational-databases/collations/collation-and-unicode-support.md#utf-8-support).
29+
- The **nchar**, **nvarchar**, and **nvarchar(max)** data types with any collation.
30+
31+
This avoids code page conversion issues. For more information, see [Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md).
32+
33+
- Up to [!INCLUDE[ssSQL17](../../includes/sssql17-md.md)], replace all uses of the **char**, **varchar**, and **varchar(max)** data types with **nchar**, **nvarchar**, and **nvarchar(max)**. This avoids code page conversion issues. For more information, see [Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md).
34+
> [!IMPORTANT]
35+
> The **text** data type is deprecated and should not be used in new development work. Plan to convert **text** data to **varchar(max)**.
36+
37+
- When doing month and day-of-week comparisons and operations, use the numeric date parts instead of the name strings. Different language settings return different names for the months and weekdays. For example, `DATENAME(MONTH,GETDATE())` returns `May` when the language is set to U.S. English, returns `Mai` when the language is set to German, and returns `mai` when the language is set to French. Instead, use a function such as [DATEPART](../../t-sql/functions/datepart-transact-sql.md) that uses the number of the month instead of the name. Use the DATEPART names when you build result sets to be displayed to a user, because the date names are frequently more meaningful than a numeric representation. However, don't code any logic that depends on the displayed names being from a specific language.
3038

3139
- When you specify dates in comparisons or for input to INSERT or UPDATE statements, use constants that are interpreted the same way for all language settings:
3240

@@ -40,14 +48,15 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
4048

4149
- Applications that use other APIs, or [!INCLUDE[tsql](../../includes/tsql-md.md)] scripts, stored procedures, and triggers, should use the unseparated numeric strings. For example, *yyyymmdd* as 19980924.
4250

43-
- Applications that use other APIs, or [!INCLUDE[tsql](../../includes/tsql-md.md)] scripts, stored procedures, and triggers should use the CONVERT statement with an explicit style parameter for all conversions between the **time**, **date**, **smalldate**, **datetime**, **datetime2**, and **datetimeoffset** data types and character string data types. For example, the following statement is interpreted in the same way for all language or date format connection settings:
51+
- Applications that use other APIs, or [!INCLUDE[tsql](../../includes/tsql-md.md)] scripts, stored procedures, and triggers should use the [CONVERT](../../t-sql/functions/cast-and-convert-transact-sql.md) statement with an explicit style parameter for all conversions between the **time**, **date**, **smalldate**, **datetime**, **datetime2**, and **datetimeoffset** data types and character string data types. For example, the following statement is interpreted in the same way for all language or date format connection settings:
4452

45-
```
53+
```sql
4654
SELECT *
4755
FROM AdventureWorks2012.Sales.SalesOrderHeader
4856
WHERE OrderDate = CONVERT(DATETIME, '20060719', 101)
4957
```
5058

51-
For more information, see [CAST and CONVERT &#40;Transact-SQL&#41;](../../t-sql/functions/cast-and-convert-transact-sql.md).
52-
53-
59+
## See also
60+
[CAST and CONVERT &#40;Transact-SQL&#41;](../../t-sql/functions/cast-and-convert-transact-sql.md)
61+
[DATEPART &#40;Transact-SQL&#41;](../../t-sql/functions/datepart-transact-sql.md)
62+
[Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md)

docs/relational-databases/replication/security/identity-and-access-control-replication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ manager: craigg
4444

4545
## Manage Logins and Passwords in Replication
4646
Specify the logins and passwords for replication agents when you configure replication. After configuring replication, you can change logins and passwords. For more information, see [View and Modify Replication Security Settings](../../../relational-databases/replication/security/view-and-modify-replication-security-settings.md). If you change the password for an account used by a replication agent, execute [sp_changereplicationserverpasswords &#40;Transact-SQL&#41;](../../../relational-databases/system-stored-procedures/sp-changereplicationserverpasswords-transact-sql.md).
47+
48+
Support for the use of group Managed Service Accounts (gMSA) is introduced in SQL Server 2014. For more information, see the blog [Replication and group Managed Service Accounts](https://repltalk.com/2019/03/26/replication-and-group-managed-service-accounts/).
4749

4850
## See Also
4951
[Threat and Vulnerability Mitigation &#40;Replication&#41;](../../../relational-databases/replication/security/threat-and-vulnerability-mitigation-replication.md)

0 commit comments

Comments
 (0)