Skip to content

Commit df2ffc2

Browse files
Merge pull request #229423 from jonburchel/2023-03-03-merges-public-PRs
Fixes public PR 106041
2 parents c900fd2 + 066560d commit df2ffc2

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

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

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ ms.date: 10/19/2022
1515

1616
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
1717

18-
You use data transformation activities in a Data Factory or Synapse[pipeline](concepts-pipelines-activities.md)to transform and process raw data into predictions and insights. The Script activity is one of the transformation activities that pipelines support. This article builds on the[transform dataarticle](transform-data.md), which presents a general overview of data transformation and the supported transformation activities.
18+
You use data transformation activities in a Data Factory or Synapse [pipeline](concepts-pipelines-activities.md) to transform and process raw data into predictions and insights. The Script activity is one of the transformation activities that pipelines support. This article builds on the [transform data article](transform-data.md), which presents a general overview of data transformation and the supported transformation activities.
1919

20-
Using the script activity, you can execute common operations with Data Manipulation Language (DML), and Data Definition Language (DDL). DML statements like INSERT, UPDATE, DELETE and SELECT let users insert, modify, delete and retrieve data in the database. DDL statements like CREATE, ALTER and DROPallow a database manager to create, modify, and remove database objects such as tables, indexes, and users.
20+
Using the script activity, you can execute common operations with Data Manipulation Language (DML), and Data Definition Language (DDL). DML statements like INSERT, UPDATE, DELETE and SELECT let users insert, modify, delete and retrieve data in the database. DDL statements like CREATE, ALTER and DROP allow a database manager to create, modify, and remove database objects such as tables, indexes, and users.
2121

2222
You can use the Script activity to invoke a SQL script in one of the following data stores in your enterprise or on an Azure virtual machine (VM):
2323

2424
- Azure SQL Database
2525
- Azure Synapse Analytics
26-
- 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. Seethe [Self-hosted integration runtime](create-self-hosted-integration-runtime.md)article for details.
27-
- Oracle
28-
- Snowflake
26+
- 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.
27+
- Oracle
28+
- Snowflake
2929

30-
The script may contain either a single SQL statement or multiple SQL statements that run sequentially.You can use the Execute SQL task for the following purposes:
30+
The script may contain either a single SQL statement or multiple SQL statements that run sequentially. You can use the Script task for the following purposes:
3131

3232
- Truncate a table in preparation for inserting data.
3333
- Create, alter, and drop database objects such as tables and views.
@@ -113,28 +113,28 @@ The following table describes these JSON properties:
113113
Sample output:
114114
```json
115115
{
116-
    "resultSetCount": 2,
117-
    "resultSets": [
118-
        {
119-
            "rowCount": 10,
120-
            "rows":[
121-
                {
122-
                    "<columnName1>": "<value1>",
123-
                    "<columnName2>": "<value2>",
124-
                    ...
125-
                }
126-
            ]
127-
        },
128-
        ...
129-
    ],
130-
    "recordsAffected": 123,
131-
    "outputParameters":{
132-
        "<parameterName1>": "<value1>",
133-
        "<parameterName2>": "<value2>"
134-
    },
135-
    "outputLogs": "<logs>",
136-
    "outputLogsLocation": "<folder path>",
137-
    "outputTruncated": true,
116+
"resultSetCount": 2,
117+
"resultSets": [
118+
{
119+
"rowCount": 10,
120+
"rows":[
121+
{
122+
"<columnName1>": "<value1>",
123+
"<columnName2>": "<value2>",
124+
...
125+
}
126+
]
127+
},
128+
...
129+
],
130+
"recordsAffected": 123,
131+
"outputParameters":{
132+
"<parameterName1>": "<value1>",
133+
"<parameterName2>": "<value2>"
134+
},
135+
"outputLogs": "<logs>",
136+
"outputLogsLocation": "<folder path>",
137+
"outputTruncated": true,
138138
...
139139
}
140140
```

0 commit comments

Comments
 (0)