Skip to content

Commit e38f337

Browse files
authored
Merge pull request #303158 from chugugrace/patch-9
Update transform-data-using-script.md
2 parents ec839d9 + 7965e29 commit e38f337

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/data-factory/transform-data-using-script.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ You can use the Script activity to invoke a SQL script in one of the following d
2222

2323
- Azure SQL Database
2424
- Azure Synapse Analytics
25-
- SQL Server Database. If you are using SQL Server, install Self-hosted integration runtime on the same machine that hosts the database or on a separate machine that has access to the database. Self-Hosted integration runtime is a component that connects data sources on-premises/on Azure VM with cloud services in a secure and managed way. See the [Self-hosted integration runtime](create-self-hosted-integration-runtime.md) article for details.
25+
- SQL Server Database. If you're using SQL Server, install Self-hosted integration runtime on the same machine that hosts the database or on a separate machine that has access to the database. Self-Hosted integration runtime is a component that connects data sources on-premises/on Azure VM with cloud services in a secure and managed way. See the [Self-hosted integration runtime](create-self-hosted-integration-runtime.md) article for details.
2626
- Oracle
2727
- Snowflake
28+
- Azure Database for PostgreSQL
2829

2930
The script can contain either a single SQL statement or multiple SQL statements that run sequentially. You can use the Script task for the following purposes:
3031

@@ -36,7 +37,7 @@ The script can contain either a single SQL statement or multiple SQL statements
3637

3738
## Syntax details
3839

39-
Here is the JSON format for defining a Script activity:
40+
Here's the JSON format for defining a Script activity:
4041

4142
```json
4243
{
@@ -142,7 +143,7 @@ Sample output:
142143
|Property name |Description |Condition |
143144
|---------|---------|---------|
144145
|resultSetCount |The count of result sets returned by the script. |Always |
145-
|resultSets |The array which contains all the result sets. |Always |
146+
|resultSets |The array that contains all the result sets. |Always |
146147
|resultSets.rowCount |Total rows in the result set. |Always |
147148
|resultSets.rows |The array of rows in the result set. |Always |
148149
|recordsAffected |The row count of affected rows by the script. |If scriptType is NonQuery |
@@ -153,10 +154,10 @@ Sample output:
153154

154155
> [!NOTE]
155156
> - The output is collected every time a script block is executed. The final output is the merged result of all script block outputs. The output parameter with same name in different script block will get overwritten.
156-
> - Since the output has size / rows limitation, the output will be truncated in following order: logs -> parameters -> rows. Note, this applies to a single script block, which means the output rows of next script block won’t evict previous logs.
157+
> - Since the output has size / rows limitation, the output will be truncated in the following order: logs -> parameters -> rows. This applies to a single script block, which means the output rows of next script block won’t evict previous logs.
157158
> - Any error caused by log won’t fail the activity.
158-
> - For consuming activity output resultSets in down stream activity please refer to the [Lookup activity result documentation](control-flow-lookup-activity.md#use-the-lookup-activity-result).
159-
> - Use outputLogs when you are using 'PRINT' statements for logging purpose. If query returns resultSets, it will be available in the activity output and will be limited to 5000 rows/ 4MB size limit.
159+
> - For consuming activity output resultSets in down stream activity, refer to the [Lookup activity result documentation](control-flow-lookup-activity.md#use-the-lookup-activity-result).
160+
> - Use outputLogs when you're using 'PRINT' statements for logging purpose. If query returns resultSets, it will be available in the activity output and will be limited to 5000 rows/ 4MB size limit.
160161
161162
## Configure the Script activity using UI
162163

0 commit comments

Comments
 (0)