Skip to content

Commit b465789

Browse files
authored
Merge pull request #114770 from lauradolan/sqlazure-parse-json
Parse JSON in SQL Azure connector
2 parents e8e535e + 00dc2c0 commit b465789

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

articles/connectors/connectors-create-api-sqlazure.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Connect to SQL Server or Azure SQL Database
33
description: Automate tasks for SQL databases on premises or in the cloud by using Azure Logic Apps
44
services: logic-apps
55
ms.suite: integration
6-
ms.reviewer: klam; logicappspm
6+
ms.reviewer: estfan, jonfan, logicappspm
77
ms.topic: conceptual
8-
ms.date: 11/08/2019
8+
ms.date: 05/12/2020
99
tags: connectors
1010
---
1111

@@ -125,6 +125,20 @@ Sometimes, you have to work with result sets so large that the connector doesn't
125125

126126
* [SELECT - ORDER BY Clause](https://docs.microsoft.com/sql/t-sql/queries/select-order-by-clause-transact-sql)
127127

128+
### Handle dynamic bulk data
129+
130+
Sometimes, when you make a call to a stored procedure in the SQL Server connector, the returned output is dynamic. In this scenario, follow these steps:
131+
132+
1. Open **Logic Apps Designer**.
133+
1. Perform a test run of your logic app to see the output format. Copy down your sample output.
134+
1. In the designer, under the action where you call the stored procedure, select **New step**.
135+
1. Under **Choose an action**, search for and select the [**Parse JSON**](../logic-apps/logic-apps-perform-data-operations.md#parse-json-action) action.
136+
1. In the **Parse JSON** action, select **Use sample payload to generate schema**.
137+
1. In the **Enter or paste a sample JSON payload** window, paste your sample output, then select **Done**.
138+
1. If you get an error that Logic Apps can't generate a schema, check that your sample output's syntax is correctly formatted. If you still can't generate the schema, manually enter one in the **Schema** box.
139+
1. On the designer toolbar, select **Save**.
140+
1. To access the JSON content properties, use the data tokens that appear in the dynamic content list under the [**Parse JSON** action](../logic-apps/logic-apps-perform-data-operations.md#parse-json-action).
141+
128142
## Connector-specific details
129143

130144
For technical information about this connector's triggers, actions, and limits, see the [connector's reference page](https://docs.microsoft.com/connectors/sql/).

0 commit comments

Comments
 (0)