Skip to content

Commit 41a800e

Browse files
authored
Merge pull request #2667 from douglaslMS/cats-fixes-0728
Fixed CATS QA issues, mostly missing language tags.
2 parents 5997df3 + e1cea17 commit 41a800e

5 files changed

Lines changed: 85 additions & 76 deletions

docs/integration-services/dtutil-utility.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ manager: "jhubbard"
7575

7676
## Syntax
7777

78-
```
79-
78+
```dos
8079
dtutil /option [value] [/option [value]]...
8180
```
8281

@@ -134,33 +133,33 @@ dtutil /option [value] [/option [value]]...
134133
### Copy Examples
135134
To copy a package that is stored in the **msdb** database on a local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] using Windows Authentication to the SSIS Package Store, use the following syntax:
136135

137-
```
136+
```dos
138137
dtutil /SQL srcPackage /COPY DTS;destFolder\destPackage
139138
```
140139

141140
To copy a package from a location on the File system to another location and give the copy a different name, use the following syntax:
142141

143-
```
142+
```dos
144143
dtutil /FILE c:\myPackages\mypackage.dtsx /COPY FILE;c:\myTestPackages\mynewpackage.dtsx
145144
```
146145

147146
To copy a package on the local file system to an instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] hosted on another computer, use the following syntax:
148147

149-
```
148+
```dos
150149
dtutil /FILE c:\sourcepkg.dtsx /DestServer <servername> /COPY SQL;destpkgname
151150
```
152151

153152
Because the */DestU[ser]* and */DestP[assword]* options were not used, Windows Authentication is assumed.
154153

155154
To create a new ID for a package after it is copied, use the following syntax:
156155

157-
```
156+
```dos
158157
dtutil /I /FILE copiedpkg.dtsx
159158
```
160159

161160
To create a new ID for all the packages in a specific folder, use the following syntax:
162161

163-
```
162+
```dos
164163
for %%f in (C:\test\SSISPackages\*.dtsx) do dtutil.exe /I /FILE %%f
165164
```
166165

@@ -169,13 +168,13 @@ for %%f in (C:\test\SSISPackages\*.dtsx) do dtutil.exe /I /FILE %%f
169168
### Delete Examples
170169
To delete a package that is stored in the **msdb** database on an instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses Windows Authentication, use the following syntax:
171170

172-
```
171+
```dos
173172
dtutil /SQL delPackage /DELETE
174173
```
175174

176175
To delete a package that is stored in the **msdb** database on an instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] Authentication, use the following syntax:
177176

178-
```
177+
```dos
179178
dtutil /SQL delPackage /SOURCEUSER srcUserName /SOURCEPASSWORD #8nGs*w7F /DELETE
180179
```
181180

@@ -184,26 +183,26 @@ dtutil /SQL delPackage /SOURCEUSER srcUserName /SOURCEPASSWORD #8nGs*w7F /DELETE
184183
185184
To delete a package that is stored in the SSIS Package Store, use the following syntax:
186185

187-
```
186+
```dos
188187
dtutil /DTS delPackage.dtsx /DELETE
189188
```
190189

191190
To delete a package that is stored in the file system, use the following syntax:
192191

193-
```
192+
```dos
194193
dtutil /FILE c:\delPackage.dtsx /DELETE
195194
```
196195

197196
### Exists Examples
198197
To determine whether a package exists in the **msdb** database on a local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses Windows Authentication, use the following syntax:
199198

200-
```
199+
```dos
201200
dtutil /SQL srcPackage /EXISTS
202201
```
203202

204203
To determine whether a package exists in the **msdb** database on a local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] Authentication, use the following syntax:
205204

206-
```
205+
```dos
207206
dtutil SQL srcPackage /SOURCEUSER srcUserName /SOURCEPASSWORD *hY$d56b /EXISTS
208207
```
209208

@@ -212,26 +211,26 @@ dtutil SQL srcPackage /SOURCEUSER srcUserName /SOURCEPASSWORD *hY$d56b /EXISTS
212211
213212
To determine whether a package exists in the local package store, use the following syntax:
214213

215-
```
214+
```dos
216215
dtutil /DTS srcPackage.dtsx /EXISTS
217216
```
218217

219218
To determine whether a package exists in the local file system, use the following syntax:
220219

221-
```
220+
```dos
222221
dtutil /FILE c:\srcPackage.dtsx /EXISTS
223222
```
224223

225224
### Move Examples
226225
To move a package that is stored in the SSIS Package Store to the **msdb** database on a local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses Windows Authentication, use the following syntax:
227226

228-
```
227+
```dos
229228
dtutil /DTS srcPackage.dtsx /MOVE SQL;destPackage
230229
```
231230

232231
To move a package that is stored in the **msdb** database on a local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] Authentication to the **msdb** database on another local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] Authentication, use the following syntax:
233232

234-
```
233+
```dos
235234
dtutil /SQL srcPackage /SOURCEUSER srcUserName /SOURCEPASSWORD $Hj45jhd@X /MOVE SQL;destPackage /DESTUSER destUserName /DESTPASSWORD !38dsFH@v
236235
```
237236

@@ -240,20 +239,20 @@ dtutil /SQL srcPackage /SOURCEUSER srcUserName /SOURCEPASSWORD $Hj45jhd@X /MOVE
240239
241240
To move a package that is stored in the SSIS Package Store, use the following syntax:
242241

243-
```
242+
```dos
244243
dtutil /DTS srcPackage.dtsx /MOVE DTS;destPackage.dtsx
245244
```
246245

247246
To move a package that is stored in the file system, use the following syntax:
248247

249-
```
248+
```dos
250249
dtutil /FILE c:\srcPackage.dtsx /MOVE FILE;c:\destPackage.dtsx
251250
```
252251

253252
### Sign Examples
254253
To sign a package that is stored in a [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] database on a local instance of [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] that uses Windows Authentication, use the following syntax:
255254

256-
```
255+
```dos
257256
dtutil /FILE srcPackage.dtsx /SIGN FILE;destpkg.dtsx;1767832648918a9d989fdac9819873a91f919
258257
```
259258

@@ -267,7 +266,7 @@ dtutil /FILE srcPackage.dtsx /SIGN FILE;destpkg.dtsx;1767832648918a9d989fdac9819
267266
### Encrypt Examples
268267
The following sample encrypts the file-based PackageToEncrypt.dtsx to the file-based EncryptedPackage.dts using full package encryption, with a password. The password that is used for the encryption is *EncPswd*.
269268

270-
```
269+
```dos
271270
dtutil /FILE PackageToEncrypt.dtsx /ENCRYPT file;EncryptedPackage.dtsx;3;EncPswd
272271
```
273272

docs/integration-services/lesson-1-6-adding-and-configuring-the-lookup-transformations.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
---
2-
title: "Step 6: Adding and Configuring the Lookup Transformations | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "03/01/2017"
5-
ms.prod: "sql-server-2016"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "integration-services"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "get-started-article"
12-
applies_to:
13-
- "SQL Server 2016"
14-
ms.assetid: 5c59f723-9707-4407-80ae-f05f483cf65f
15-
caps.latest.revision: 38
16-
author: "douglaslMS"
17-
ms.author: "douglasl"
18-
manager: "jhubbard"
19-
---
20-
# Lesson 1-6 - Adding and Configuring the Lookup Transformations
1+
---
2+
title: "Step 6: Adding and Configuring the Lookup Transformations | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "03/01/2017"
5+
ms.prod: "sql-server-2016"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "integration-services"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "get-started-article"
12+
applies_to:
13+
- "SQL Server 2016"
14+
ms.assetid: 5c59f723-9707-4407-80ae-f05f483cf65f
15+
caps.latest.revision: 38
16+
author: "douglaslMS"
17+
ms.author: "douglasl"
18+
manager: "jhubbard"
19+
---
20+
# Lesson 1-6 - Adding and Configuring the Lookup Transformations
2121
After you have configured the Flat File source to extract data from the source file, the next task is to define the Lookup transformations needed to obtain the values for the **CurrencyKey** and **DateKey**. A Lookup transformation performs a lookup by joining data in the specified input column to a column in a reference dataset. The reference dataset can be an existing table or view, a new table, or the result of an SQL statement. In this tutorial, the Lookup transformation uses an OLE DB connection manager to connect to the database that contains the data that is the source of the reference dataset.
2222

2323
> [!NOTE]
@@ -53,7 +53,7 @@ In both cases, the Lookup transformation will utilize the OLE DB connection mana
5353

5454
2. Select **Use results of an SQL query**, and then type or copy the following SQL statement:
5555

56-
```
56+
```sql
5757
select * from (select * from [dbo].[DimCurrency]) as refTable
5858
where [refTable].[CurrencyAlternateKey] = 'ARS'
5959
OR

docs/integration-services/lesson-4-3-adding-error-flow-redirection.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
---
2-
title: "Step 3: Adding Error Flow Redirection | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "03/14/2017"
5-
ms.prod: "sql-server-2016"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "integration-services"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "get-started-article"
12-
applies_to:
13-
- "SQL Server 2016"
14-
ms.assetid: 5683a45d-9e73-4cd5-83ca-fae8b26b488c
15-
caps.latest.revision: 39
16-
author: "douglaslMS"
17-
ms.author: "douglasl"
18-
manager: "jhubbard"
19-
---
20-
# Lesson 4-3 - Adding Error Flow Redirection
1+
---
2+
title: "Step 3: Adding Error Flow Redirection | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "03/14/2017"
5+
ms.prod: "sql-server-2016"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "integration-services"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "get-started-article"
12+
applies_to:
13+
- "SQL Server 2016"
14+
ms.assetid: 5683a45d-9e73-4cd5-83ca-fae8b26b488c
15+
caps.latest.revision: 39
16+
author: "douglaslMS"
17+
ms.author: "douglasl"
18+
manager: "jhubbard"
19+
---
20+
# Lesson 4-3 - Adding Error Flow Redirection
2121
As demonstrated in the previous task, the Lookup Currency Key transformation cannot generate a match when the transformation tries to process the corrupted sample flat file, which produced an error. Because the transformation uses the default settings for error output, any error causes the transformation to fail. When the transformation fails, the rest of the package also fails.
2222

2323
Instead of permitting the transformation to fail, you can configure the component to redirect the failed row to another processing path by using the error output. Use of a separate error processing path lets you do a number of things. For instance, you might try to clean the data and then reprocess the failed row. Or, you might save the failed row along with additional error information for later verification and reprocessing.
@@ -28,7 +28,7 @@ By default the two extra columns in an [!INCLUDE[ssISnoversion](../includes/ssis
2828

2929
To enhance the usefulness of the error output, before the package writes the failed rows to the file, you will use a Script component to access the [!INCLUDE[ssISnoversion](../includes/ssisnoversion-md.md)] API and get a description of the error.
3030

31-
### To configure an error output
31+
## To configure an error output
3232

3333
1. In the **SSIS Toolbox**, expand **Common**, and then drag **Script Component** onto the design surface of the **Data Flow** tab. Place **Script** to the right of the **Lookup Currency Key** transformation.
3434

@@ -56,22 +56,22 @@ To enhance the usefulness of the error output, before the package writes the fai
5656

5757
[Visual Basic]
5858

59-
```
59+
```vb
6060
Row.ErrorDescription =
6161
Me.ComponentMetaData.GetErrorDescription(Row.ErrorCode)
6262
```
6363

6464
[Visual C#]
6565

66-
```
66+
```cs
6767
Row.ErrorDescription = this.ComponentMetaData.GetErrorDescription(Row.ErrorCode);
6868
```
6969

7070
The completed subroutine will look like the following code.
7171

7272
[Visual Basic]
7373

74-
```
74+
```vb
7575
Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer)
7676

7777
Row.ErrorDescription =
@@ -82,7 +82,7 @@ To enhance the usefulness of the error output, before the package writes the fai
8282

8383
[Visual C#]
8484

85-
```
85+
```cs
8686
public override void Input0_ProcessInputRow(Input0Buffer Row)
8787
{
8888

docs/integration-services/service/integration-services-service-ssis-service.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ manager: "jhubbard"
6464

6565
When you install the [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] component of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], the [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] service is also installed. By default, the [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] service is started and the startup type of the service is set to automatic. However, you must also install [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] to use the service to manage stored and running [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] packages.
6666

67-
> **NOTE:** To connect directly to an instance of the legacy Integration Services Service, you have to use the version of SQL Server Management Studio (SSMS) aligned with the version of SQL Server on which the Integration Services Service is running. For example, to connect to the legacy Integration Services Service running on an instance of SQL Server 2016, you have to use the version of SSMS released for SQL Server 2016. [Download SQL Server Management Studio (SSMS)](https://msdn.microsoft.com/library/mt238290.aspx).
67+
> [!NOTE]
68+
> To connect directly to an instance of the legacy Integration Services Service, you have to use the version of SQL Server Management Studio (SSMS) aligned with the version of SQL Server on which the Integration Services Service is running. For example, to connect to the legacy Integration Services Service running on an instance of SQL Server 2016, you have to use the version of SSMS released for SQL Server 2016. [Download SQL Server Management Studio (SSMS)](https://msdn.microsoft.com/library/mt238290.aspx).
6869
>
6970
> In the SSMS **Connect to Server** dialog box, you cannot enter the name of a server on which an earlier version of the [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] service is running. However, to manage packages that are stored on a remote server, you do not have to connect to the instance of the [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] service on that remote server. Instead, edit the configuration file for the [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)] service so that [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] displays the packages that are stored on the remote server.
7071
@@ -181,7 +182,7 @@ When you install [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)],
181182

182183
**Example of a Default Configuration File**
183184

184-
```
185+
```xml
185186
\<?xml version="1.0" encoding="utf-8"?>
186187
\<DtsServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
187188
<StopExecutingPackagesOnShutdown>true</StopExecutingPackagesOnShutdown>
@@ -226,7 +227,7 @@ When you install [!INCLUDE[ssISnoversion](../../includes/ssisnoversion-md.md)],
226227

227228
**Example of a Modified Configuration File for a Named Instance of SQL Server**
228229

229-
```
230+
```xml
230231
\<?xml version="1.0" encoding="utf-8"?>
231232
\<DtsServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
232233
<StopExecutingPackagesOnShutdown>true</StopExecutingPackagesOnShutdown>
@@ -372,9 +373,17 @@ For more info, see [Getting Cross Domain Kerberos and Delegation working with SS
372373

373374
#### To configure a Windows firewall using the Command Prompt window
374375

375-
1. Run the command: `netsh firewall add portopening protocol=TCP port=135 name="RPC (TCP/135)" mode=ENABLE scope=SUBNET`
376+
1. Run the following command:
377+
378+
```dos
379+
netsh firewall add portopening protocol=TCP port=135 name="RPC (TCP/135)" mode=ENABLE scope=SUBNET
380+
```
376381
377-
2. Run the command: `netsh firewall add allowedprogram program="%ProgramFiles%\Microsoft SQL Server\100\DTS\Binn\MsDtsSrvr.exe" name="SSIS Service" scope=SUBNET`
382+
2. Run the following command:
383+
384+
```dos
385+
netsh firewall add allowedprogram program="%ProgramFiles%\Microsoft SQL Server\100\DTS\Binn\MsDtsSrvr.exe" name="SSIS Service" scope=SUBNET
386+
```
378387
379388
> [!NOTE]
380389
> To open the firewall for all computers, and also for computers on the Internet, replace scope=SUBNET with scope=ALL.

docs/relational-databases/json/import-json-documents-into-sql-server.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ You can also use OPENROWSET(BULK) as described above to read JSON files from oth
7373

7474
Here is the command syntax:
7575

76-
```
76+
```dos
7777
net use [drive letter] \\[storage name].file.core.windows.net\[share name] /u:[storage account name] [storage account access key]
7878
```
7979
8080
Here's an example that assigns local drive letter `T:` to the Azure File Storage share:
8181
82-
```
82+
```dos
8383
net use t: \\mystorage.file.core.windows.net\sharejson /u:myaccount hb5qy6eXLqIdBj0LvGMHdrTiygkjhHDvWjUZg3Gu7bubKLg==
8484
```
8585
@@ -135,7 +135,7 @@ SELECT value
135135
### Example 2
136136
OPENROWSET reads a single text value from the file, returns it as a BulkColumn, and passes it to the OPENJSON function. OPENJSON iterates through the array of JSON objects in the BulkColumn array and returns one book in each row, formatted as JSON:
137137

138-
```
138+
```json
139139
{"id":"978-0641723445″, "cat":["book","hardcover"], "name":"The Lightning Thief", …
140140
{"id":"978-1423103349″, "cat":["book","paperback"], "name":"The Sea of Monsters", …
141141
{"id":"978-1857995879″, "cat":["book","paperback"], "name":"Sophie’s World : The Greek …
@@ -160,7 +160,8 @@ In this example, OPENROWSET(BULK) reads the content of the file and passes that
160160
978-0641723445|The Lightning Thief|12.5|384|Rick Riordan|
161161
978-1423103349|The Sea of Monsters|6.49|304|Rick Riordan|
162162
978-1857995879|Sophie’s World : The Greek Philosophers|3.07|64|Jostein Gaarder|
163-
978-1933988177|Lucene in Action, Second Edition|30.5|475|Michael McCandless|
163+
978-1933988177|Lucene in Action, Second Edition|30.5|475|Michael McCandless|
164+
||||||
164165

165166
Now you can return this table to the user, or load the data into another table.
166167

0 commit comments

Comments
 (0)