Skip to content

Commit 5bd652a

Browse files
authored
Merge pull request MicrosoftDocs#29945 from simonsabin/patch-2
Explain what to use for the parameter type
2 parents 7dff5bf + c58f210 commit 5bd652a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/data-factory/transform-data-using-stored-procedure.md

+11
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ The following table describes these JSON properties:
7070
| storedProcedureName | Specify the name of the stored procedure to invoke. | Yes |
7171
| storedProcedureParameters | Specify the values for stored procedure parameters. Use `"param1": { "value": "param1Value","type":"param1Type" }` to pass parameter values and their type supported by the data source. If you need to pass null for a parameter, use `"param1": { "value": null }` (all lower case). | No |
7272

73+
## Parameter data type mapping
74+
The data type you specify for the parameter is the Azure Data Factory type that maps to the data type in the data source you are using. You can find the data type mappings for your data source in the connectors area. Some examples are
75+
76+
| Data Source | Data Type Mapping |
77+
| ---------------------|-------------------|
78+
| Azure SQL Data Warehouse | https://docs.microsoft.com/en-us/azure/data-factory/connector-azure-sql-data-warehouse#data-type-mapping-for-azure-sql-data-warehouse |
79+
| Azure SQL Database | https://docs.microsoft.com/en-us/azure/data-factory/connector-azure-sql-database#data-type-mapping-for-azure-sql-database |
80+
| Oracle | https://docs.microsoft.com/en-us/azure/data-factory/connector-oracle#data-type-mapping-for-oracle |
81+
| SQL Server | https://docs.microsoft.com/en-us/azure/data-factory/connector-sql-server#data-type-mapping-for-sql-server |
82+
83+
7384
## Error info
7485

7586
When a stored procedure fails and returns error details, you can't capture the error info directly in the activity output. However, Data Factory pumps all of its activity run events to Azure Monitor. Among the events that Data Factory pumps to Azure Monitor, it pushes error details there. You can, for example, set up email alerts from those events. For more info, see [Alert and Monitor data factories using Azure Monitor](monitor-using-azure-monitor.md).

0 commit comments

Comments
 (0)