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

Commit b741042

Browse files
authored
Merge pull request #17343 from DCtheGeek/dmc-links-relationaldatabases-1
Links: SQL - relational-databases - 1
2 parents 0f429a2 + e48ab32 commit b741042

50 files changed

Lines changed: 83 additions & 125 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/relational-databases/clr-integration/database-objects/getting-started-with-clr-integration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ End Class
8484

8585
```
8686

87-
This simple program contains a single static method on a public class. This method uses two new classes, **[SqlContext](https://msdn.microsoft.com/library/microsoft.sqlserver.server.sqlcontext.aspx)** and **[SqlPipe](https://msdn.microsoft.com/library/microsoft.sqlserver.server.sqlpipe.aspx)**, for creating managed database objects to output a simple text message. The method also assigns the string "Hello world!" as the value of an out parameter. This method can be declared as a stored procedure in [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)], and then run in the same manner as a [!INCLUDE[tsql](../../../includes/tsql-md.md)] stored procedure.
87+
This simple program contains a single static method on a public class. This method uses two new classes, **[SqlContext](/dotnet/api/microsoft.sqlserver.server.sqlcontext)** and **[SqlPipe](/dotnet/api/microsoft.sqlserver.server.sqlpipe)**, for creating managed database objects to output a simple text message. The method also assigns the string "Hello world!" as the value of an out parameter. This method can be declared as a stored procedure in [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)], and then run in the same manner as a [!INCLUDE[tsql](../../../includes/tsql-md.md)] stored procedure.
8888

8989
Compile this program as a library, load it into [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)], and run it as a stored procedure.
9090

@@ -169,7 +169,7 @@ IF EXISTS (SELECT name FROM sys.assemblies WHERE name = 'helloworld')
169169

170170
For more information about CLR integration in SQL Server, see the following articles:
171171

172-
- [CLR Stored Procedures](https://msdn.microsoft.com/library/bbdd51b2-a9b4-4916-ba6f-7957ac6c3f33)
172+
- [CLR Stored Procedures](/dotnet/framework/data/adonet/sql/clr-stored-procedures)
173173
- [SQL Server In-Process Specific Extensions to ADO.NET](../../../relational-databases/clr-integration-data-access-in-process-ado-net/sql-server-in-process-specific-extensions-to-ado-net.md)
174174
- [Debugging CLR Database Objects](../../../relational-databases/clr-integration/debugging-clr-database-objects.md)
175-
- [CLR Integration Security](../../../relational-databases/clr-integration/security/clr-integration-security.md)
175+
- [CLR Integration Security](../../../relational-databases/clr-integration/security/clr-integration-security.md)

docs/relational-databases/clr-integration/debugging-clr-database-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Due to the above restrictions, we recommend that [!INCLUDE[tsql](../../includes/
4141

4242
Debugging in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] follows a per-connection model. A debugger can detect and debug activities only to the client connection to which it is attached. Because the functionality of the debugger is not limited by the type of connection, both tabular data stream (TDS) and HTTP connections can be debugged. However, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] does not allow debugging existing connections. Debugging supports all common debugging features within routines executing on the server. The interaction between a debugger and [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] happens through distributed Component Object Model (COM).
4343

44-
For more information and scenarios about debugging managed stored procedures, functions, triggers, user-defined types, and aggregates, see [SQL Server CLR Integration Database Debugging](https://go.microsoft.com/fwlink/?LinkId=120378) in the Visual Studio documentation.
44+
For more information and scenarios about debugging managed stored procedures, functions, triggers, user-defined types, and aggregates, see [SQL Server CLR Integration Database Debugging](/previous-versions/ms165050(v=vs.100)) in the Visual Studio documentation.
4545

4646
The TCP/IP network protocol must be enabled on the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance in order to use Visual Studio for remote development, debugging, and development. For more information about enabling TCP/IP protocol on the server, see [Configure Client Protocols](../../database-engine/configure-windows/configure-client-protocols.md).
4747

@@ -110,6 +110,6 @@ EXEC GetVersion
110110

111111
## Next steps
112112

113-
For more information about debugging managed code using Visual Studio, see [Debugging Managed Code](https://go.microsoft.com/fwlink/?LinkId=120377) in the Visual Studio documentation.
113+
For more information about debugging managed code using Visual Studio, see [Debugging Managed Code](/visualstudio/debugger/debugging-managed-code) in the Visual Studio documentation.
114114

115115
For more information, see [Common Language Runtime integration programming concepts](../../relational-databases/clr-integration/common-language-runtime-clr-integration-programming-concepts.md)

docs/relational-databases/clr-integration/deploying-clr-database-objects.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ms.author: "jroth"
7070

7171
`EXTERNAL NAME HelloWorld.Procedures.HelloWorld`
7272

73-
For more information about creating the different types of managed database objects in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], see [CLR User-Defined Functions](../../relational-databases/clr-integration-database-objects-user-defined-functions/clr-user-defined-functions.md), [CLR User-Defined Aggregates](../../relational-databases/clr-integration-database-objects-user-defined-functions/clr-user-defined-aggregates.md), [CLR User-Defined Types](../../relational-databases/clr-integration-database-objects-user-defined-types/clr-user-defined-types.md), [CLR Stored Procedures](https://msdn.microsoft.com/library/bbdd51b2-a9b4-4916-ba6f-7957ac6c3f33), and [CLR Triggers](https://msdn.microsoft.com/library/302a4e4a-3172-42b6-9cc0-4a971ab49c1c).
73+
For more information about creating the different types of managed database objects in [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], see [CLR User-Defined Functions](../../relational-databases/clr-integration-database-objects-user-defined-functions/clr-user-defined-functions.md), [CLR User-Defined Aggregates](../../relational-databases/clr-integration-database-objects-user-defined-functions/clr-user-defined-aggregates.md), [CLR User-Defined Types](../../relational-databases/clr-integration-database-objects-user-defined-types/clr-user-defined-types.md), [CLR Stored Procedures](/dotnet/framework/data/adonet/sql/clr-stored-procedures), and [CLR Triggers](/dotnet/framework/data/adonet/sql/clr-triggers).
7474

7575
## Deploying the Assembly to Production Servers
7676
Once the CLR database objects have been tested and verified on the test server, they can be distributed to production servers. For more information about debugging managed database objects, see [Debugging CLR Database Objects](../../relational-databases/clr-integration/debugging-clr-database-objects.md).
@@ -103,4 +103,3 @@ ms.author: "jroth"
103103
## See Also
104104
[Common Language Runtime (CLR) Integration Programming Concepts](../../relational-databases/clr-integration/common-language-runtime-clr-integration-programming-concepts.md)
105105

106-

docs/relational-databases/clr-integration/monitoring-and-troubleshooting-managed-database-objects.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ms.author: "jroth"
2424

2525
|Event|Description|
2626
|-----------|-----------------|
27-
|[Assembly Load Event Class](https://docs.microsoft.com/sql/relational-databases/event-classes/sql-server-event-class-reference)|Used to monitor assembly load requests (success and failures).|
27+
|[Assembly Load Event Class](../event-classes/sql-server-event-class-reference.md)|Used to monitor assembly load requests (success and failures).|
2828
|[SQL:BatchStarting Event Class](../../relational-databases/event-classes/sql-batchstarting-event-class.md), [SQL:BatchCompleted Event Class](../../relational-databases/event-classes/sql-batchcompleted-event-class.md)|Provides information about [!INCLUDE[tsql](../../includes/tsql-md.md)] batches that have started or completed.|
2929
|[SP:Starting Event Class](../../relational-databases/event-classes/sp-starting-event-class.md), [SP:Completed Event Class](../../relational-databases/event-classes/sp-completed-event-class.md)|Used to monitor the execution of [!INCLUDE[tsql](../../includes/tsql-md.md)] stored procedures.|
3030
|[SQL:StmtStarting Event Class](../../relational-databases/event-classes/sql-stmtstarting-event-class.md), [SQL:StmtCompleted Event Class](../../relational-databases/event-classes/sql-stmtcompleted-event-class.md)|Used to monitor the execution of CLR and [!INCLUDE[tsql](../../includes/tsql-md.md)] routines.|
@@ -81,4 +81,3 @@ ms.author: "jroth"
8181
## See Also
8282
[Common Language Runtime (CLR) Integration Programming Concepts](../../relational-databases/clr-integration/common-language-runtime-clr-integration-programming-concepts.md)
8383

84-

docs/relational-databases/clr-integration/security/clr-integration-security.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ ms.author: "jroth"
4242
[Host Protection Attributes and CLR Integration Programming](../../../relational-databases/clr-integration-security-host-protection-attributes/host-protection-attributes-and-clr-integration-programming.md)
4343
Provides information about the host protection attribute (HPA) values that are disallowed in SAFE and EXTERNAL_ACCESS assemblies.
4444

45-
[Links in CLR Integration Security](https://msdn.microsoft.com/library/168efd01-d12e-4bdf-a1b3-0b5c76474eaf)
45+
[Links in CLR Integration Security]()
4646
Describes how pieces of user-code can call each other in [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)].
4747

48-
[Impersonation and CLR Integration Security](https://msdn.microsoft.com/library/1495a7af-2248-4cee-afdb-9269fb3a7774)
48+
[Impersonation and CLR Integration Security](../data-access/impersonation-and-credentials-for-connections.md)
4949
Discusses how managed code accesses external resources using impersonation.
5050

5151
Discusses issues that arise when a managed method invokes a method in a class contained in another assembly.
@@ -56,4 +56,3 @@ ms.author: "jroth"
5656
## See Also
5757
[Managing CLR Integration Assemblies](../../../relational-databases/clr-integration/assemblies/managing-clr-integration-assemblies.md)
5858

59-

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ SELECT name FROM customer ORDER BY name COLLATE Latin1_General_CS_AI;
423423
```
424424

425425
### <a name="Locale_Defn"></a> Locale
426-
A locale is a set of information that's associated with a location or a culture. The information can include the name and identifier of the spoken language, the script that's used to write the language, and cultural conventions. Collations can be associated with one or more locales. For more information, see [Locale IDs Assigned by Microsoft](https://msdn.microsoft.com/goglobal/bb964664.aspx).
426+
A locale is a set of information that's associated with a location or a culture. The information can include the name and identifier of the spoken language, the script that's used to write the language, and cultural conventions. Collations can be associated with one or more locales. For more information, see [Locale IDs Assigned by Microsoft](/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c).
427427

428428
### <a name="Code_Page_Defn"></a> Code page
429429
A code page is an ordered set of characters of a given script in which a numeric index, or code point value, is associated with each character. A Windows code page is typically referred to as a *character set* or a *charset*. Code pages are used to provide support for the character sets and keyboard layouts that are used by different Windows system locales.
@@ -650,4 +650,4 @@ For more information, see the following related content:
650650
[Contained Database Collations](../../relational-databases/databases/contained-database-collations.md)
651651
[Choose a Language When Creating a Full-Text Index](../../relational-databases/search/choose-a-language-when-creating-a-full-text-index.md)
652652
[sys.fn_helpcollations (Transact-SQL)](../../relational-databases/system-functions/sys-fn-helpcollations-transact-sql.md)
653-
[Single-Byte and Multibyte Character Sets](https://docs.microsoft.com/cpp/c-runtime-library/single-byte-and-multibyte-character-sets)
653+
[Single-Byte and Multibyte Character Sets](/cpp/c-runtime-library/single-byte-and-multibyte-character-sets)

docs/relational-databases/collations/set-or-change-the-database-collation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ GO
139139
[COLLATE &#40;Transact-SQL&#41;](~/t-sql/statements/collations.md)
140140
[Collation Precedence &#40;Transact-SQL&#41;](../../t-sql/statements/collation-precedence-transact-sql.md)
141141
[CREATE TABLE &#40;Transact-SQL&#41;](../../t-sql/statements/create-table-transact-sql.md)
142-
[CREATE DATABASE &#40;SQL Server Transact-SQL&#41;](../../t-sql/statements/create-database-sql-server-transact-sql.md)
142+
[CREATE DATABASE &#40;SQL Server Transact-SQL&#41;](../../t-sql/statements/create-database-transact-sql.md)
143143
[ALTER TABLE &#40;Transact-SQL&#41;](../../t-sql/statements/alter-table-transact-sql.md)
144144
[ALTER DATABASE &#40;Transact-SQL&#41;](../../t-sql/statements/alter-database-transact-sql.md)
145145

146-

docs/relational-databases/collations/set-or-change-the-server-collation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ms.author: "sstein"
5656
> Instead of changing the default collation of an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], you can specify a default collation for each new database you create via the `COLLATE` clause of the `CREATE DATABASE` and `ALTER DATABASE` statements. For more information, see [Set or Change the Database Collation](set-or-change-the-database-collation.md).
5757
5858
## Setting the server collation in Managed Instance
59-
Server-level collation in Azure SQL Managed Instance can be specified when the instance is created and cannot be changed later. You can set server-level collation via [Azure portal](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-get-started#create-a-managed-instance) or [PowerShell and Resource Manager template](https://docs.microsoft.com/azure/sql-database/scripts/sql-managed-instance-create-powershell-azure-resource-manager-template) while you are creating the instance. Default server-level collation is **SQL_Latin1_General_CP1_CI_AS**. Unicode-only and new UTF-8 collations cannot be specified as server-level collation.
59+
Server-level collation in Azure SQL Managed Instance can be specified when the instance is created and cannot be changed later. You can set server-level collation via [Azure portal](/azure/sql-database/sql-database-managed-instance-get-started#create-a-managed-instance) or [PowerShell and Resource Manager template](/azure/sql-database/scripts/sql-managed-instance-create-powershell-azure-resource-manager-template) while you are creating the instance. Default server-level collation is **SQL_Latin1_General_CP1_CI_AS**. Unicode-only and new UTF-8 collations cannot be specified as server-level collation.
6060
If you are migrating databases from SQL Server to Managed Instance, check the server collation in the source SQL Server using `SERVERPROPERTY(N'Collation')` function and create a Managed Instance that matches the collation of your SQL Server. Migrating a database from SQL Server to Managed Instance with the server-level collations that are not matched might cause several unexpected errors in the queries. You cannot change the server-level collation on the existing Managed Instance.
6161
6262
## See Also
@@ -65,4 +65,3 @@ If you are migrating databases from SQL Server to Managed Instance, check the se
6565
[Set or Change the Database Collation](../../relational-databases/collations/set-or-change-the-database-collation.md)
6666
[Set or Change the Column Collation](../../relational-databases/collations/set-or-change-the-column-collation.md)
6767
[Rebuild System Databases](../../relational-databases/databases/rebuild-system-databases.md)
68-

docs/relational-databases/data-collection/configure-the-management-data-warehouse-sql-server-management-studio.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ms.author: mathoma
6767
Use this page to select a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] database server and management data warehouse. The management data warehouse is a relational database that will store collected data.
6868

6969
> [!NOTE]
70-
> You must have the appropriate level of permissions in order to create the management data warehouse on the server. For more information, see [CREATE DATABASE &#40;SQL Server Transact-SQL&#41;](../../t-sql/statements/create-database-sql-server-transact-sql.md). You also must have the appropriate level of permissions to create logins for management data warehouse roles.
70+
> You must have the appropriate level of permissions in order to create the management data warehouse on the server. For more information, see [CREATE DATABASE &#40;SQL Server Transact-SQL&#41;](../../t-sql/statements/create-database-transact-sql.md). You also must have the appropriate level of permissions to create logins for management data warehouse roles.
7171
7272
**Server name**
7373
Specifies the name of the server that will host the management data warehouse.
@@ -134,4 +134,3 @@ ms.author: mathoma
134134
[Data Collection](../../relational-databases/data-collection/data-collection.md)
135135
[Manage Data Collection](../../relational-databases/data-collection/manage-data-collection.md)
136136

137-

docs/relational-databases/data-collection/data-collection.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ms.author: mathoma
2424

2525
The data collector enables you to adjust the scope of data collection to suit your test and production environments. The data collector also uses a data warehouse, a relational database that enables you to manage the data that you collect by setting different retention periods for your data.
2626

27-
The data collector supports dynamic tuning for data collection and is extensible through its API. For more information, see [Data Collector Programming](https://docs.microsoft.com/sql/relational-databases/system-functions/data-collector-functions-transact-sql).
27+
The data collector supports dynamic tuning for data collection and is extensible through its API. For more information, see [Data Collector Programming](../system-functions/data-collector-functions-transact-sql.md).
2828

2929
The following illustration shows how the data collector fits in the overall strategy for data collection and data management in [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)].
3030

@@ -45,7 +45,7 @@ ms.author: mathoma
4545

4646
- Proxy accounts
4747

48-
For more information, see [Automated Administration Tasks &#40;SQL Server Agent&#41;](https://msdn.microsoft.com/library/541ee5ac-2c9f-4b74-b4f0-13b7bd5920b0).
48+
For more information, see [Automated Administration Tasks &#40;SQL Server Agent&#41;](../../ssms/agent/automated-administration-tasks-sql-server-agent.md).
4949

5050
[!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] ([!INCLUDE[ssIS](../../includes/ssis-md.md)]) is used to execute packages that collect data from individual data providers. You should be familiar with the following [!INCLUDE[ssIS](../../includes/ssis-md.md)] tools and concepts:
5151

@@ -113,5 +113,3 @@ ms.author: mathoma
113113
|Use the Management Data Warehouse to collect data from a server that is a data collection target.|[Management Data Warehouse](../../relational-databases/data-collection/management-data-warehouse.md)|
114114
|Exploit the server-side trace capabilities of SQL Server Profiler to export a trace definition that you can use to create a collection set that uses the Generic SQL Trace collector type| [Use SQL Server Profiler to Create a SQL Trace Collection Set (SQL Server Management Studio)](use-sql-server-profiler-to-create-a-sql-trace-collection-set.md)
115115

116-
117-

0 commit comments

Comments
 (0)